[squid-users] Squid + web server on same machine

From: Nuno Ferreira <nfaf@dont-contact.us>
Date: Tue, 14 Jun 2005 06:24:40 +0900

Hi all,

        I know that this probably has come in this archive but my search
there didn't get me anything.

        I have a RH machine running SQUID proxy and Apache. On the web
server I have a lot of virtual domains.

        The problem is that proxy users can't see those web sites (the
ones hosted on the apache server as virtual servers).

        The mentioned machine is in the DMZ zone and nated outside to
the public IP. This public IP is (of course) the ip of all the virtual
hosts.

        There must be some conflict in the proxy server or in the httpd
server that I really don't understand.

        Some months ago I resolved this problem by adding some
configuration in the apache server.

        I had one NameVirtualHost (which was the private DMZ IP) and I
added another NameVirtualHost (with the OUTSIDE IP), then I copied the
VirtualHost definitions changing the IP. So basically what I have is 2
NameVirtualHost and 2 VirtualHost configuration for each site (each one
only differ in the IP. One is DMZ priv other is public).

        And this thing got me going and proxy clients could browse the
virtual hosts. Now for some reason they just can't anymore.

        I know that the mentioned resolution probably isn't the perfect
one and SQUID must have some easy way to solve this.

Can someone give any hint ?

Thanks

Nuno Ferreira
Received on Mon Jun 13 2005 - 15:24:49 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:02 MDT