Re: Virtual domains using squid

From: Duane Wessels <wessels>
Date: Tue, 18 Jun 96 11:12:54 -0700

Rodney.van.den.Oever@tip.nl writes:

>I setup virtual domains using Apache 1.0.5 (+ required nameserver-entries
>en IP-aliases) running on port 81 and this works fine if I bypass Squid by
>going straight to port 81 from another networked machine.
>
>This works since it listens on the aliased addresses (I can ping the
>virtual domains).
>
>Squid listens on port 80 and I used the -V-option:
>
> /usr/local/squid/bin/squid -D \
> -V www.home.nl -V www.work.nl >>/tmp/cache/squid.out 2>&1

The usage should just be /usr/local/squid/bin/squid -D -V >> ...

>But Squid of course tries to access these virtual domains locally and
>since there is no route to these addresses it eventually times out.
>
>How do I go about this, do I have to add a route to these aliases or
>should I run the virtual domains on different ports?

I don't understand why routing is an issue. With virtual hosts
you must run Squid on the same machine with all the virtual
interfaces.

Duane W.
Received on Tue Jun 18 1996 - 11:12:54 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:31 MST