Looks like I'm already using mod_proxy_uwsgi with apache 2.2: [spierce@w1-dev6 ~]$ cat /etc/httpd/conf.d/mod_proxy_uwsgi.conf LoadModule proxy_uwsgi_module /usr/lib64/httpd/modules/mod_proxy_uwsgi.so
[spierce@w1-dev6 ~]$ strings /usr/lib64/httpd/modules/mod_proxy_uwsgi.so | grep mod_proxy mod_proxy_uwsgi.so mod_proxy_uwsgi.c I was able to use mod_proxy_http and 'setenv send_cl 1' and pointed it at theuwsgi http-socket. That is slow, but works fine for now. Some helpful folks on the apache list indicated that the mod_proxy_uwsgi module may need to be updated to support chunked requests. That message is quoted below. If you want me to, I'll look at the mod_proxy_http and mod_proxy_uwsgi sources and see if I can figure out how to support chunked requests. Let me know if you want me to do this, or if you'd like to do it instead. Thanks, Steve -----Quoted Message----- From: Nick Kew [mailto:[email protected]] Sent: Thursday, September 05, 2013 9:06 PM To: [email protected] Subject: Re: [users@httpd] mod_uwsgi with chunked request body causes 411 On 6 Sep 2013, at 04:48, Stephen Pierce wrote: > My configuration is apache 2.2.15 (stock CentOS 6.0), proxying for uwsgi (my > custom package 1.9.37), running my python wsgi application. My apache > configuration: > > ProxyPass /app/1.0 uwsgi://127.0.0.1:2101/ You appear to be looking for proxy-sendcl, as documented under mod_proxy_http. Except, I guess "uwsgi" isn't HTTP and doesn't use that module. You could perhaps use the mod_proxy_http code as a template to hack the uwsgi module to do what you need. _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
