[suse-linux-uk-schools] squid blocking sites for no good reason
Hi folks, i seem to have ran into abit of trouble with squid. If you check the offical squid faq at visolve it reads:
"Problem While trying to retrieve the URL: http://host.esite.com:81/? the following error was encountered:
Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
I don't have any ACL blocking the "?" so I don't know what's causing this. In fact, I have commented this out of the default squid.conf as shown below:
#acl QUERY urlpath_regex cgi-bin \? #no_cache deny QUERY
Ouch -- you do realise that it means that anyone trying to access any CGI stuff can't? assuming this WAS commented.
Solution Add port 81 to your safe_port ACL in squid.conf "
Now thing is, this is occuring on regular port 80 websites. From what my collegue can tell pages like php seem to be an instigator of this.
Hmm, I think you need to be a little more specific. For starters, the relationship between squid and page (in terms of viewing it) is that squid will cache certain pages by connecting to the webserver (if php then guess apache). It is the job of the server to run the php and deliver the output -- then the page is cached..... how can this be causing your problem? A little more detail as to your conclusions would be nice.
I am currently running 2.4STABLE2, but i have tried the latest offical stable release to come out and the problem is still there. :(
If it is for a certain site then it may well be that port 80{1} is already being used for something else (you should check that).
Has anyone else experienced this problem? Unfortunately it appears to be affecting some websites that the students need to access as part of their subject! kinda troublesome as a result ;)
I have heard of it, about two years ago when I was in sixth form, and fixed a glitch then. -- Thomas Adam ===== Thomas Adam "The Linux Weekend Mechanic" -- www.linuxgazette.com ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk
participants (1)
-
Thomas Adam