No access to virtual Webs

From: Miroslav BENES <mbenes@dont-contact.us>
Date: Mon, 12 Jun 2000 13:40:22 +0100

Hi all !

I'm sorry if you had answered on a similar questions.

I have a linux box with two NIC (inet / local net). On this linux is
instaled Apache with four virtual webs :

aaa.xxx.zzz and bbb.xxx.zzz on inet side and abcd on the local side
as follows (example from httpd.conf) :

<VirtualHost our_public_IP>
    DocumentRoot /home/httpd/aaa.xxx.zzz
    ServerName aaa.xxx.zzz
 ....
</VirtualHost>

<VirtualHost our_public_IP>
    DocumentRoot /home/httpd/bbb.xxx.zzz
    ServerName bbb.xxx.zzz
 ....
</VirtualHost>

This virtual webs are in public DNS record.

For internal use we have virtual internal web too :

<VirtualHost our_private_IP>
    DocumentRoot /home/httpd/abcd
    ServerName abcd
 ....
</VirtualHost>

This web has record in /etc/hosts file and sequence "hosts,bind" is
defined in /etc/host.conf.

When we used RedHat 6.1 (with apache-1.3.9-5 and squid-2.2STABLE4-8),
all worked fine. Our squid is configured as real proxy (no
http-accell) and access into local apache is configured with
"always_direct" directive.

After upgrade on RH6.2 (apache-1.3.12-4 and squid-2.3STABLE1-5) we
can access on inet servers, we can access on our public virtual webs
(with public DNS record) too, but we cannot access on local virtual
web. Squid says that he cannot determine IP adress - he is probably
looking for DNS record and this way is wrong.

Why squid cannot look into /etc/hosts ? How can I setup right
behaviour into squid.conf (without recompiling) ?

Thank you for any help.

Miroslav BENES
system administrator
TENEZ a.s.
Chotebor
Czech Republic
Received on Mon Jun 12 2000 - 05:39:53 MDT

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