[squid-users] Problem accessing squid server

From: Martijn Moret <martijn@dont-contact.us>
Date: Mon, 05 Apr 2004 17:18:45 +0200

Hi,

Here's my problem:

I'm running squid 2.5 STABLE4 on Solaris. (no problems so far)
I want to use autoconfiguration (migrating from iPlanet).

I've setup squirm as a redirector to pass the url to the apache webserver which hosts the proxy.pac file.
Squid is running running on machine cache.foo.org port 8080
Apache is running on the same machine on 8000 with the proxy.pac in the documentroot.

The squirm rule works when tested on the command line.
Squirm rule and test output
regexi ^.*cache\.foo\.org:8080/$ http://cache.foo.org:8000/proxy.pac

cache(root)# ../bin/squirm
Squirm running as UID 0: writing logs to stderr
Mon Apr 5 16:48:00 2004:Loading IP List
Mon Apr 5 16:48:00 2004:Reading Patterns from config /usr/local/squirm/etc/squirm.patterns
Mon Apr 5 16:48:00 2004:Squirm (PID 1037) started
http://cache.foo.org:8080/ 10.0.0.1 - GET
http://cache.foo.org:8000/proxy.pac 10.0.0.1 - GET
Mon Apr 5 16:49:14 2004:http://cache.foo.org:8080/:http://cache.foo.org:8000/proxy.pac

In the browser (I've tested several) I enter http://cache.foo.org:8080/ in the autoconfiguration box.

When I restart the browser and look in the squid access_log I see the following message:
1081175522.687 0 10.0.0.1 TCP_DENIED/400 1435 GET / - NONE/- text/html

So squid thinks this is a bad request and the redirector doesn't come into play...

I've seen many posts about this on the net, but could not find a solution!
Any hints would be appriciated!

Regards
Martijn
Received on Mon Apr 05 2004 - 09:18:47 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:01 MDT