how can i change apache rewrite rule to nginx rule [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questioni'm tired due to this problum
i have this rule in apache.
RewriteCond %{HTTP_HOST} ^(www\.|domain\.)
RewriteCond $1 !^(index\.php|info\.php|public)
RewriteRule ^(.*)$ /index.php/$1
this send all requests after index.php, except index.php, info.php, public forder.
but i dont know how开发者_StackOverflow中文版 to change to nginx ㅠㅠ
please help!
I'm not an ngix expert, but I recommend you to take a look here http://wiki.nginx.org/Wordpress .
It shows you how to configure Wordpress to run smoothly on ngix, so guess it's a good start.
精彩评论