2011年2月2日星期三

Re: RewriteCond command

On Tue, Feb 01, 2011 at 09:11:03PM -0500, lifeisjustabout wrote:

> hi i've seen many example that answered this forum and they use
> RewriteCond but if i put that command i get error nginx 0.8.3
>
> RewriteCond %{request_uri} !^index\.php

This should be translated from Yoda backward style to nginx forward style:

location = /index.php {
...
}

location / {
...
}


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx

没有评论:

发表评论