Re: [squid-users] Redirect POST Requests

From: Chris Robertson <[email protected]>
Date: Fri, 10 Aug 2007 15:00:31 -0800

Santiago Del Castillo wrote:
> Hi!
>
> Is possible to handle GET and POST requests separately? I want GET to
> go to port 80 and POST to port 81 in the same origin server.
>
> I'm using squid 2.6.STABLE13 as reverse-proxy.
>
> Thanks!
>

cache_peer 192.168.0.10 parent 80 0 no-query originserver
name=EverythingButPost
cache_peer 192.168.0.10 parent 81 0 no-query originserver name=Post
acl POST method POST
cache_peer_access Post allow POST
cache_peer_access Post deny all

Note: This is a back of the envelope calculation. I have no idea if
this will actually work.

Chris
Received on Fri Aug 10 2007 - 17:01:04 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT