View Single Post
Old 05-05-2008, 06:18 AM   #4 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

Quote:
Originally Posted by delayedinsanity View Post
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 this
though you should be able to escape with \... but I tried it and it wasn't working either, so I'm lost.
-m
QSA gives me the 500 error, and NC does aswell.
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote