Search squid archive

Re: Still proxying request for a reverse proxy

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

 



mån 2006-10-02 klockan 11:27 +1000 skrev Eric Blanchi:

> This works a treat except for one thing: the virtualhost block the 
> request matches is always the default one (Primary host).
> The Apache access log on BOX A shows the request as:
>    GET http://my.Public.com/myfolder HTTP/1.0
> 
> I would like to be able to specify which virtualhost to go to as I may 
> have a lot of them. The virtualhost would be dependent on which domain 
> is in the original request (my.Public.com).

The best is to set up a my.public.com virtualhost on the Apache, but you
can also have Squid rewrite the requested domain either by using a
url_rewriter, or by forcing the domain in the cache_peer directive.

> Forcing Squid to use HTTP/1.1, or send a host: header of some sort?

Squid always sends a Host header.

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux