I'm clueless about .htaccess rewrites

Chris caldcv at gmail.com
Mon Aug 15 18:13:47 UTC 2011


I've got a script and the rewrites are kicking my butt

RewriteEngine on

RewriteCond   %{REQUEST_URI} \/([0-9a-z]{1,9})$ [NC]
RewriteRule   ^(.*) http://URL/?%1


RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]


-- 
--C

"The dumber people think you are, the more surprised they're going to
be when you kill them." - Sir William Clayton



More information about the nginx mailing list