ProxyPass: discard body data
Posted
by
Kay
on Server Fault
See other posts from Server Fault
or by Kay
Published on 2012-09-18T00:56:08Z
Indexed on
2012/09/18
3:40 UTC
Read the original article
Hit count: 727
I have some rules like
<Location /xyz>
ProxyPass http://example.com/abc
...
</Location>
I want to accept requests to http://mypage.lan/xyz/123 and deliver the data of http://example.com/abc/123. I need to accept POST request, but I don't want to send the body content to example.com. I would like to send a GET request, but a POST request with Content-Length: 0 would be fine, too.
Is it possible, to configure Apache 2 not to promote the request body?
© Server Fault or respective owner