开发者

how can i change apache rewrite rule to nginx rule [closed]

开发者 https://www.devze.com 2023-02-25 01:14 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

i'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.

0

精彩评论

暂无评论...
验证码 换一张
取 消