Created attachment 219340 [details] a patch to modules/proxy/proxy_util.c mod_proxy_uwsgi has a issue to use a default port of uwsgi:// scheme. I reported to apache httpd maintainer(*), but not fix yet. (*)SEE ALSO: https://bz.apache.org/bugzilla/show_bug.cgi?id=64405 This fix was simplify, add a uwsgi default port to pschemes[] array in proxy_util.c. Formally, this fix should be define UWSGI_SCHEME and UWSGI_DEFAULT_PORT, but already reported in apache httpd maintainer(*).
Hi Nork, Looks like there isn't something like a default port for uWSGI (at least looking at the uWSGI docs I don't see it). Guess this is why it's not defined in the code. The documentation clearly contains the port for all configurations. Perhaps makes sense to submit patch to add an admonition "NOTE: You must use a port number in your ProxyPass" instead? Cheers, Bernard.
Hi Bernard, > Looks like there isn't something like a default port for uWSGI (at least looking at the uWSGI docs I don't see it). Guess this is why it's not defined in the code. Yes. But I don't know why. > Guess this is why it's not defined in the code. The documentation clearly contains the port for all configurations. Perhaps makes sense to submit patch to add an admonition "NOTE: You must use a port number in your ProxyPass" instead? That's fine, but "NOTE: You must use a port number exclude 3031 in your ProxyPass". In this time, apache24 reports a error like following setting: ProxyPass / uwsgi://127.0.0.1/ ProxyPass / uwsgi://127.0.0.1:3031/ And also, unix domain "with port number" causes a error like following setting: ProxyPass / unix:/tmp/.uwsgi.sock|uwsgi://127.0.0.1:3031/ ProxyPass / unix:/tmp/.uwsgi.sock|uwsgi://127.0.0.1:3032/