rewrite rules

Tomasz Pajor nikon at puffy.pl
Mon Jun 1 09:30:42 MSD 2009


Hello,

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

Can anybody point me out how should this rules look like for nginx, 
thanks in advance!

--
Best regards
Tomasz Pajor





More information about the nginx mailing list