Hi,
I'm using apache with mod_proxy_uwsgi as a webserver with the
following configuration:
ProxyPass "/r/" "unix:/var/run/uwsgi/reader.socket|uwsgi://localhost/"
The unix domain socket (UDS) configuration is ignored
(https://github.com/unbit/uwsgi/issues/890), so I configured for the
time being uwsgi to listen on TCP.
But even then, I cannot manage to configure the router_rewrite plugin
to get a PHP application to work in a subdirectory. The relevant part
of my conf are below:
[uwsgi]
master = True
plugins = 0:php
project_dir = /srv/www/selfoss
chdir = %(project_dir)
php-docroot = %(project_dir)
php-allowed-ext = index.php
php-index = /index.php
plugins = router_rewrite
route-uri = ^/r/(.*) rewrite:/index.php/$1
It seems that the both mod_proxy_uwsgi and the router_rewrite plugin
pass the /r/ prefix to the PHP script.
What am I doing wrong?
Thanks,
Alex
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi