Search squid archive

Re: [squid-users] Re: HTTP POST problem with httpd-accelerator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Got it!!!

I was looking at the actual HTTP GET and POST packets on the LAN to the
webserver and found the following;

The HTTP GET Header had the "HOST:" field set to webserver IP address. Which
is why it worked from the reverse proxy.
The HTTP POST Header had the "HOST:" field set to the client hostname. Which
is why it didn't work from the reverse proxy (i.e. couldn't route)

The values in the config file states

httpd_accel_host virtual

httpd_accel_port 80
httpd_accel_uses_host_header on

If I have to keep the last value "on", is there a way round using the
"HOST:" to determine where to forward the request to?

Regards,

Steve

----- Original Message ----- 
From: "Henrik Nordstrom" <hno@xxxxxxxxxxxxxxx>
To: "Steve Jasper" <steve.jasper@xxxxxxxxxxxxxx>
Cc: "Squid Users" <squid-users@xxxxxxxxxxxxxxx>
Sent: Thursday, March 17, 2005 1:22 PM
Subject: Re: [squid-users] Re: HTTP POST problem with httpd-accelerator


> On Thu, 17 Mar 2005, Steve Jasper wrote:
>
> > I'm getting a TCP_DENIED/403 in the access.log for the HTTP POST. On
further
> > inspection it has substituted the client host name in the destination
URL
> > instead of the webserver. Why would it do that?
>
> Squid doesn't, but perhaps you are using a redirector which does?
>
> Regards
> Henrik
>

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux