I'm clueless about .htaccess rewrites

Brandon Amaro omega13a at fedtrek.com
Tue Aug 16 18:46:42 UTC 2011


Try http://www.anilcetin.com/convert-apache-htaccess-to-nginx/ . Its 
good at converting rewrites but converting other stuff can be a bit buggy.

-- 
omega13a
Owner and Founder of UFT
http://www.fedtrek.com



On 08/15/2011 11:13 AM, Chris wrote:
> 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]
>
>



More information about the nginx mailing list