Our office intranet is located at office.mycompany.com. Inside the office, however, the DNS for 'office.mycompany.com' resolves to our EXTERNAL IP address, and since I have loopback disabled (for security), it barfs when trying to access the intranet.
So, I figured, hey-- I can install squidGuard, and create a rewrite rule to redirect them to the internal IP of the web server.
My rule looks something like this:
rew office {
s@^http://office.mycompany.com@http://192.168.10.10@i
s@^http://www.lycos.com@http://www.google.com@
}
I threw in the lycos->google rule just for testing.
I restart Squid, and the lycos->google rule works just fine, but I still get an error with the office rule above it... I get the standard Squid error page:
Quote:
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://office.mycompany.com/
The following error was encountered:
* Access Denied."
|
Is this just a simple permission problem in the squid.conf?
Another idea I had was to modify my bind server configuration--but alas, I don't have the time to learn how to configure bind (I tried before, and ugh, it was very painful)