AW: [squid-users] reverse-proxy for multiple domains
Why httpd_accel_port 0?
cause i read it somewhere i don't remember anymore. i thought the port must
be zero in connection with the virtual httpd_accel_host.
do i have to change it to the port of the web-server?
[color=blue]
> -----Ursprungliche Nachricht-----
> Von: Henrik Nordstrom [mailto:hno@squid-cache.org]
> Gesendet: Donnerstag, 26. Februar 2004 10:58
> An: [email]martin.mueller@stadt.wolfsburg.de[/email]
> Cc: [email]squid-users@squid-cache.org[/email]
> Betreff: Re: [squid-users] reverse-proxy for multiple domains
>
>
> On Thu, 26 Feb 2004 [email]martin.mueller@stadt.wolfsburg.de[/email] wrote:
>[color=green]
> > ich tried to configure squid as a reverse proxy for[/color]
> multiple domains.
>
> Which Squid version?
>[color=green]
> > httpd_accel_host virtual
> > httpd_accel_port 0[/color]
>
> Why httpd_accel_port 0?
>
> And are you sure you want httpd_accel_host virtual? This is not about
> domain-based virtual hosts but IP based virtual hosts.
>[color=green]
> > httpd_accel_single_host off
> > http_accel_with_proxy off
> > httpd_accel_uses_host_header on[/color]
>
> Ok,
>[color=green]
> > In the hosts-file i put the ip of the webserver i want to[/color]
> reach. it looks[color=green]
> > likes this:
> >
> > <IP-of-the-web-server> <hostname-of-the-web-server>[/color]
>
> The hostname should be the hostname the clients requests (or what is
> logged in access.log), not the actual hostname.
>[color=green]
> > i tested the squid with one webserver and only changed the
> > httpd_accel-settings an everything went fine.
> >
> > i don't know why squid isn't using the /etc/hosts entries,[/color]
> has anybody an[color=green]
> > explanation?[/color]
>
> It does for me.
>
> Maybe you are using a redirector disturbing things?
>
> Regards
> Henrik
>[/color]