> 2012/2/14 Roberto De Ioris <[email protected]>:
>
>> use the latest tip, yesterday i have completed the new options design
>> and
>> fixed tons of memory bugs.
>
> Yes, it works!
>
> But how can I route to different psgi scripts by different urls? Is it
> possible to have default application or static page for unknown url?
> _______________________________________________
>

I am not quite sure to undertstand what you mean.

The psgi plugin currently does not support mounting multiple applications
in the same process, so you can route requests to the only loaded app.

If you mean having different uwsgi servers/ports, you can use that form:

route = ^/app1 uwsgi:192.168.0.1:3031,5,0
route = ^/app2 uwsgi:192.168.0.1:3032,5,0

But it would be overkill, the fastrouter is a much better toy for this
kind of job (it can manages thousand of connection, while with the
internal routing you are limited by the number of threads/processes)


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

Reply via email to