On 02/11/2011 18:53, Roberto De Ioris wrote:
I do not remember of mercurial needing SCRIPT_NAME, by the way, add

uwsgi_param SCRIPT_NAME "";

it should make it happy and it is fully WSGI 1.0 compliant.

Obviously remove uwsgi_modifier1 30 as you want the app to be mounted
under the root


Sweet. It's working, thanks very much! :)

But yeah, it's weird that it requires SCRIPT_NAME even though it's empty. Perhaps it happened in a recent version or something.

I'm glad we were able to get it working, it makes a nice change not having to work with Apache and mod_wsgi all the time. I've also fixed the regexp alias for static images, they're now properly being served by nginx instead of uwsgi.

Thanks again!

Kind regards,
mog
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to