Today, a problem emerged when internal LAN users connect to http://xxx.xxx.xxx/xxx. They all get a blank page. I was able to trace this a badly configured proxy in another part of our network.
After deciding on several options, I decided to use our own proxy connected to our own gateway. Several questions came up, among which are:
1) How do you force a squid proxy to use a certain parent cache for a certain domain?
example answer: cache_peer_domain 172.16.1.57 .co.in
(see http://wiki.squid-cache.org/CategoryConfigExample)
2) How about making sure that requests for certail URL goes direct, instead of querying the cache:
ACL foo dstdomain .example.net
Always_Direct Allow foo
3)If you want to configure Apache as a proxy, use this as reference: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html. Apache can be configured in both a forward and reverse proxy (also known as gateway) mode
These and other administrative functions occupied my day today...
Showing posts with label Squid. Show all posts
Showing posts with label Squid. Show all posts
Wednesday, March 11, 2009
Subscribe to:
Posts (Atom)