[squid-users] virtual hosts

From: <lh79@dont-contact.us>
Date: Tue, 21 Dec 2004 13:29:51 +0300

Hi, there!

Imagine you have a box with one IP interface
It has one IP address but two domainnames,
say domain1.com and domain2.com,
can be resolved to this IP address.

Is it possible to configure squid,
so it could be accessed using, say domain1.com:3128,
but not accessed using, say domain2.com:3128?

And another question is it possible to configure squid,
so it could be accessed using, say domain1.com:3128,
but not accessed using IP address of this box?

PS:
This situation resembles name-based virtual hosting in Apache
when you access different sites located on one box
and operated by one instance of Apache.

Thanks in advance.
Received on Tue Dec 21 2004 - 03:29:53 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST