How to write this rewrite?
Chancey
chanceycn at gmail.com
Thu Jul 9 05:48:54 MSD 2009
Hi, guys!
This is Apache's format, how to write in nginx? Thanks a lot.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(js|ico|gif|jpg|png|css|cgi|html|htm|cert|swf)$ index.php
php_flag always_populate_raw_post_data On
</IfModule>
2009-07-09
Chancey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090709/86fba920/attachment.html>
More information about the nginx
mailing list