httpd_accel_uses_host_header

 < Day Day Up > 

httpd_accel_uses_host_header

When this directive is enabled, Squid uses a request's Host header when rewriting accelerated/intercepted requests . When disabled, Squid uses either the origin server's IP address or the httpd_accel_host value.

You should probably enable httpd_accel_uses_host_header when running Squid as an HTTP-intercepting proxy. If Squid is a surrogate (accelerator), you only need to enable this directive if the backend server is configured for virtual hosting.

Syntax

 httpd_accel_uses_host_header onoff 

Default

 httpd_accel_uses_host_header off 

Example

 httpd_accel_uses_host_header on 

Related

httpd_accel_host , httpd_accel_port , httpd_accel_single_host , httpd_accel_with_proxy

 < Day Day Up > 


Squid
Squid: The Definitive Guide
ISBN: 0596001622
EAN: 2147483647
Year: 2004
Pages: 401
Authors: Duane Wessels

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net