You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tomáš Brambora <to...@gmail.com> on 2008/11/01 20:55:40 UTC

[users@httpd] Using mod_proxy as a "dechunker"

Hello everyone,

I'm trying to use mod_proxy as a dechunker (ie. something that will
buffer the chunks of chunk-encoded messages and then return them as
one) for my Django application.
I don't know how to configure my apache server though, so I'd really
appreciate any help.

My configuration regarding the mod_proxy looks like that:

SetEnv proxy-sendcl 1
ProxyRequests Off

<Proxy *>
	Order deny,allow
	Allow from all
</Proxy>

ProxyPassReverse http://localhost:80/mbsync/test
http://localhost:8000/mbsync/test

I was hoping that this would make all the requests coming to
http://localhost:80/mbsync/test to be dechunked and redirected to
http://localhost:8000/mbsync/test (where my Django server is running).
But the Django server doesn't get any hit, so it apparently does not
work...

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Using mod_proxy as a "dechunker"

Posted by Nick Kew <ni...@webthing.com>.
On 1 Nov 2008, at 19:55, Tomáš Brambora wrote:
>
> ProxyPassReverse http://localhost:80/mbsync/test
> http://localhost:8000/mbsync/test

That's wrong, and won't catch anything.
If the proxypass documentation isn't clear enough, you could
also check the tutorial at www.apachetutor.org.

-- 
Nick Kew
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org