help me tanslate the rewrite rule to nginx

renyi1986 nginx-forum at nginx.us
Wed Apr 25 03:23:25 UTC 2012


<IfModule rewrite_module>
RewriteEngine on

RewriteCond %{REQUEST_URI} !^/(skin|js)/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
#RewriteRule ^(.+)$ /default.php/$1 [L]

RewriteRule .* default.php [L]
</IfModule>

thanks  a lot

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,225728,225728#msg-225728



More information about the nginx mailing list