> Hi, > > is it possible to route requests to different plugins/applications by url? > > I tried to run uWSGI with this configuration file: > > [uwsgi] > http = 0.0.0.0:8080 > plugins = psgi > check-static = /var/lib/uwsgi > static-index = index.html > psgi = /opt/scripts/myapp/hello.psgi > route = ^/psgi uwsgi:,5,0 > > Static files are displayed correctly, but urls starting with '/psgi' > are not procesed without any errors in logfile. > > What's wrong? > > -- > Thanks, > Eugene Prokopiev > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
be sure to have routing enabled, the libpcre-dev must be installed. To know if it is available use --route foobar in the command line -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
