2011年3月9日星期三

Re: How to redirect to a query

Same problem I get this error in chrome 310
(net::ERR_TOO_MANY_REDIRECTS):

[code]
server {
listen 80 default;
server_name www.mysite.com;
root /home/www/mysite;
include standard.conf; #php-fpm settings

location = / {
rewrite ^ /?index=site&id=1? permanent;
}
}
[/code]

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


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

没有评论:

发表评论