code_junkie

Getting file name of file directed by .htaccess?

Nov 11th, 2011
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. RewriteRule ^(.*.png)$ image.php?%{QUERY_STRING}&image=$1 [L]
  2.  
  3. RewriteEngine on
  4. RewriteRule ^(.+).png$ image.php?file=$1 [L,QSA]
Add Comment
Please, Sign In to add comment