Sorry if I can't remember if this has been discussed previously.
I wan't to run a Django application under a non root url prefix.
I'm using Cherokee and uwsgi.
Let's say the url prefix is /test how should I setup Cherokee or uwsgi?
I've tried setting SCRIPT_NAME to "test" and "/test" in Cherokee env
variables for the handler, but that didn't change anything.
I run the Django app like this (simplified):
export UWSGI_MODULE="django.core.handlers.wsgi"
export UWSGI_CALLABLE="WSGIHandler()"
export DJANGO_SETTINGS_MODULE="hacklab.settings"
exec uwsgi --socket :3333
ps.
if I'm not mistaken, the same thing in nginx can be accomplished by:
uwsgi_param SCRIPT_NAME /test;
uwsgi_modifier1 30;
--
дамјан
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi