Jump to content

htaccess preventing xml file to be read


n000bie

Recommended Posts

Hey guys,

 

I have a flash movie which resides in a folder named ‘gallery’ in the root directory. When the page is loaded, it is unable to load the xml file, but the movie loads fine. Both the xml file and the movie are located within the ‘gallery’ folder.

 

I am assuming it has something to do with the .htaccess file

 

While checking through firebug

GET gallery.xml

http://localhost/adv/activities/gallery.xml

 

Here’s what my .htaccess file currently looks like:

RewriteEngine on

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.php\ HTTP/
RewriteRule ^(([^/]+/)*)index\.php$   http://localhost/adv/$1 [R=301,L]
RewriteRule activities/(.*) activity.php?actid=$1 [L]

 

Any help, please.

Link to comment
https://forums.phpfreaks.com/topic/221851-htaccess-preventing-xml-file-to-be-read/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.