Forums / Setup & design / Flash and xml problem / Comment22769
Patrick Kaiser
Thursday 10 August 2006 9:57:28 am
If you installed Exponential according to the manual you have either created a dedicated virtual host for your Exponential site that contains some rewrite rules or you use an .htaccess file that contains theese rewrite rules. the standard rules prevent apache to deliver certain types of documents as for example .xml-files. if you request for example http://yoursite/menu.xml the rewrite rule prevent apache from delivering it, instead the request /menu.xml will be rewritten to the index.php which will cause Exponential to lookup menu.xml what will result in a 'module not found' error.
You see, the reason why flash cant use your xml-file is a rewrite rule.
if you use the standard .htaccess file you have to add 'xml' somewhere between the first '()'-group:
RewriteEngine On RewriteRule !\.(gif|jpe?g|png|css|js|html|xml)|var(.+)storage.pdf(.+)\.pdf$ index.php
if you have a virtual host based setup you can add the rewrite rule from my previous post..
best regards, patrick
Best regards, Patrick