Re: [squid-users] Virtual hosts + 127.0.0.1 problems

From: Henrik Nordström <hno@dont-contact.us>
Date: Tue, 25 Jun 2002 23:16:53 +0200

David Brown wrote:

> Perhaps it's because I'm being particularly thick, but because I had
> configured Apache as a virtual host (single IP address), I thought the
> Squid "virtual host" parameter was related to that, and should be set..
> Could the docs be improved to make this more clear ?

Does this sound better?

httpd_accel_host virtual

        If you want IP based virtual host support then specify the
        hostname as "virtual". This will make Squid use the IP address
        where it accepted the request as hostname in the URL.

httpd_accel_uses_host_header

        HTTP/1.1 requests include a Host: header which is basically the
        hostname from the URL. The Host: header is used for domain based
        virutal hosts. If your accelerator needs to provide domain based
        virtual hosts on the same IP address then you will need to turn this
        on.

Regards
Henrik

-- 
Basic free Squid support provided thanks to MARA Systems AB
Your source of advanced reverse proxy solutions or customized
Squid solutions. http://www.marasystems.com/products/
Received on Tue Jun 25 2002 - 15:16:56 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:48 MST