View Single Post
05-05-2008, 06:18 AM
Join Date: Dec 2007
Originally Posted by
Using a backslash doesn't work? I escape periods in my rewrite's just like so \. with no problems. What about using QSA instead if it doesn't work? If I remember correctly you should be able to do
RewriteRule ^image$ image.php [QSA, L]
and it should work like /image?img=image.png => /image.php?img=image.png. Worst possible scenario you could do
RewriteRule ^image/([A-Z0-9]+)/?$ image.php?img=$1 [NC, L]
and site.com/image/image.png would pump it through your php file. According to
though you should be able to escape with \... but I tried it and it wasn't working either, so I'm lost.
QSA gives me the 500 error, and NC does aswell.
"The reasonable man adapts himself to the conditions that surround him... The unreasonable man adapts surrounding conditions to himself... All progress depends on the unreasonable man." - George Bernard Shaw
View Public Profile
Send a private message to Orc
Visit Orc's homepage!
Find More Posts by Orc