I am using Squid as a normal Proxy Server on my RH 7.2 box. I wish to now use it as a reverse proxy (Web Accelerator) in addition to normal proxying function, with the following requirements:

1. The Apache Webserver should on the "Proxyhost" should continue as before
2. Two machines on my internal LAN(say 192.168.1.10 and 192.168.1.11), LANhost1 and LANhost2 are having web based applications, and I wish to provide access to them from Internet via my public IP address on the proxyhost.


I have the following lines in my squid.conf
http_port 80
http_port 3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_single_host off
httpd_accel_uses_host_header off
httpd_accel_with_proxy on


Questions:


1. Where and how do I configure squid to permit connection from the external browser to the internal host? I have defined the internal IP address in /etc/hosts on proxy host?

2. How do I let apache do its work as before, because port 80 is now claimed by squid for reverse proxying? The documentation asks to run httpd on port 81 etc, but then how exactly is the traffic originally meant for port 80 on external ip get redirected to 81 without getting confused with the reverse-proxy functionality on port 80 now??

Anand Shankar

         ================================================
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header. 
Check archives at http://www.mail-archive.com/ilugd%40wpaa.org



Reply via email to