RE: [squid-users] Trailing Slash / Using Reverse Proxy

From: Brad Taylor <btaylor@dont-contact.us>
Date: Wed, 10 Jan 2007 11:16:10 -0500

Thanks.

Where I could get a Squid 2.6 RPM For Red Hat Enterprise 4?

Brad

-----Original Message-----
From: Henrik Nordstrom [mailto:henrik@henriknordstrom.net]
Sent: Monday, January 08, 2007 8:06 PM
To: Brad Taylor
Cc: squid-users@squid-cache.org
Subject: RE: [squid-users] Trailing Slash / Using Reverse Proxy

mån 2007-01-08 klockan 18:20 -0500 skrev Brad Taylor:

> How would I setup the reverse proxy to not rewrite the host name
> componet?

Depends on how you set things up. If setting up Squid as a vhost then it
by default doesn't.

> Here is my config file:
>
> http_port 80
> https_port 443 cert=/etc/squid/example.com-11-07.pem
> key=/etc/squid/example.com_key-11-07.pem options=NO_SSLv2
> cipher=DEFAULT:!EXPORT:!LOW

No defaultsite or vhost? Which version is this? 2.5? If so upgrade..

> httpd_accel_host 10.10.1.100
> httpd_accel_port 80
> httpd_accel_single_host on
> httpd_accel_with_proxy off

Ah, yes it's 2.5. Upgrade and it's easier to keep sanity...

For 2.5 set httpd_accel_host to the official name of the accelerated
site, and add it in /etc/hosts with the IP of the internal server. Or
alternatively enable httpd_accel_uses_host_header. But I strongly advice
upgrading to 2.6.

Regards
Henrik
Received on Wed Jan 10 2007 - 09:15:11 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST