Re: Virtual hosts on other boxes?

From: Duane Wessels <wessels>
Date: Tue, 24 Sep 96 09:12:24 -0700

jason@oit.co.uk writes:

>
>Hi there
>
>We have a situation where there's a Web server within our firewall (i.e.
>no direct access) that we want to make available to the Internet. Instead
>of physically moving the box into our DMZ or hooking up some
>proxy-redirector, I wondered if I could use Squid to achieve the same
>effect.
>
>I see that Squid supports virtual interfaces when they're on the squid
>host only - is there a (complicated no doubt ;-) reason for this?

The reason is that it uses getsockname() to determine which (virtual)
interface the connection came in on.

But if you only have one web server on the inside, you don't need the
virtual host stuff, you can just use the 'httpd_accel' feature.

Also, you could use the redirection feature of the 1.1 versions...

Duane W.
Received on Tue Sep 24 1996 - 09:12:24 MDT

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