Hi,
I am using this .htaccess code inside the glitter1 folder.
Here the second rule defines this type of url- http://www.mysite.com/glitter1/animals/lions/Code:RewriteRule ^images/([^/]+)$ /glitter1/images/$1 [L] RewriteRule ^([^/]+)/([^/]+)/?$ /glitter1/flashdisplay.php?root=$1&cat=$2 [L]
My problem is that this is stopping the images in this folder from showing. (It is showing internal server error)
http://www.mysite.com/glitter1/images/goodday1.gif
Is there any way to cause the 2nd redirectrule to be skipped if the url is of the format- http://www.mysite.com/glitter1/images/
I tried using this code but I dont think its the correct syntax.
I hope I am making myself clear.Code:RewriteRule ^([^/][^images]+)/([^/]+)/?$ /glitter1/flashdisplay.php?root=$1&cat=$2 [L]
Thanks,
Nishant






Bookmarks