One of the most hanging-on patch is finally available:

http://projects.unbit.it/uwsgi/wiki/PSGI


I have completely removed SCRIPT_NAME handling, as i do not want to
re-create the python-like-mess.

App identifiers MUST be set with UWSGI_APPID, SCRIPT_NAME handling should
go in the app itself (if needed) as well as SERVER_NAME/HTTP_HOST.

You can easily implement virtualhosting with only UWSGI_APPID as showed in
the wiki page.

The new plugin has been tested in perl 5.10, 5.12 and 5.14 with and
without ithreads support.

A note on threading:

Each app will generate a new interpreter for each thread. That means: an
instance with 40 threads and 2 processes, will have 80 copies of the app.
This is how perl threading works, do not blame on me :)

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to