On 03/09/2011 5:23 AM, Calin Don wrote:
> Also your rewrite rule rewrite ^(.+) http://www.example.com
> http://www.example.com/$1 permanent; sould be rewritten into rewrite ^
> http://www.example.com http://www.example.com/$request_uri? permanent;
Just wondering...instead of a blanket redirect and then location that
try to overide it, would it be better to have a rewrite that says "if
not subdir1|subdir2|myfacebookapp rewrite to http". Then locations for
those subdirs if they require passwords, etc.
How would I do the if not subdir1|subdir2|myfacebookapp rewrite to http
check?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx