I'm clueless about .htaccess rewrites

Stefan Caunter stef at caunter.ca
Tue Aug 16 03:14:32 UTC 2011


On Mon, Aug 15, 2011 at 2:13 PM, Chris <caldcv at gmail.com> 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]
>
>

http://catb.org/~esr/faqs/smart-questions.html
http://wiki.nginx.org/HttpRewriteModule

> --
> --C
>
> "The dumber people think you are, the more surprised they're going to
> be when you kill them." - Sir William Clayton
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list