Hi Simon: I was just re-reading my list and you seemed to know something about proxies? I have Squid running at my school on a rerasonably powerful server. We are using dialnet as the parent cache and I am pointing all of the school's stations (Win95) to the proxy in order to control things a bit (port 8080--Dialnet does this but I can control by room with Squid). I now want to use Apache to serve our web site on the same machine but it is proving difficult. 1. Do I need to have the Linux box running Samba for the clients to access the web pages? 2. Can they both exist on the same box or do I have to use just Apache? 3. What is the key configuration in Apache for this to happen. I have squid running but when I start up Apache (using it on port 8000).....hang on... I have just experimented and I can now reach the Apache message if I point the host machines to port 8000 but I have then lost the proxy capability. Is it possible to point Apache to go to Squid for the outside world? How is this done? Regards, Paul
I was just re-reading my list and you seemed to know something about
I have Squid running at my school on a rerasonably powerful server. We are using dialnet as the parent cache and I am pointing all of the school's stations (Win95) to the proxy in order to control things a bit (port 8080--Dialnet does this but I can control by room with Squid). I now want to use Apache to serve our web site on the same machine but it is proving difficult. 1. Do I need to have the Linux box running Samba for the clients to access
web pages? 2. Can they both exist on the same box or do I have to use just Apache? 3. What is the key configuration in Apache for this to happen. I have squid running but when I start up Apache (using it on port 8000).....hang on... I have just experimented and I can now reach the Apache message if I point
Paul, With your Squid box chained to Dialnet all requests for your local Apache web server will be sent on to the upstream proxy. If your local web server can't be reached from the outside then the requests will fail. The way around the problem is to force Squid to go direct for requests that refer to your local LAN. Do this with the following lines in squid.conf: acl localnet dst a.b.c.d/w.x.y.z 127.0.0.1/255.255.255.255 always_direct allow localnet where a.b.c.d is your local network address and w.x.y.z is the subnet mask. The 127.0.0.1/255.255.255.255 entry ensures that the server's loopback address is also regarded as local. You can safely run Apache on port 80, and in many ways it would be more straightforward. Regards, Simon. proxies? the the
host machines to port 8000 but I have then lost the proxy capability. Is it possible to point Apache to go to Squid for the outside world? How is this done? Regards, Paul
participants (2)
-
ptaylor
-
Simon Rainey