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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.