On 03/09/2011 5:23 AM, Calin Don wrote:
> You should set a serverwide index directive. You should move index
> index.shtml index.php; from location / {} to server {}
>
> 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;
Made your suggested changes.
After doing so tested location = /myfacebookapp which redirected to
http, not what I want and location ~ /myfacebookapp which tossed a
404...also not what I want.
5:34 am...argh. :-)
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx