Re: [squid-users] Access Error

From: Dan Tappin <dan@dont-contact.us>
Date: Mon, 29 Jul 2002 08:48:05 -0600

> Strange choice of acl names. I'm not sure how the parser will behave on
> those ACLs (i.e. "mrtg.orourke-eng.com/" is probably not an acceptable
> name for an ACL, but I can't say for sure without testing--drop off the
> '/' and see what happens).
>
> I'm not sure what you mean by "somehow added to my squid.conf
> file"...Somebody added them, as Squid doesn't make changes to the
> configuration file under any circumstances. You should probably read
> the FAQ and squid.conf sections regarding access controls and the
> http_access directive. They will likely take some of the mystery out of
> your problem (it is mysterious to me as well, as I can't imagine what
> might be fiddling with your configuration file if you didn't do it).

All is good now. I think that iTools made these changes... I sure didn't!

I will forward this to Tenon to see what they think.

Thanks for your help,

Dan

> Dan Tappin wrote:
>> After many head bangs on the wall I found the following lines that were
>> somehow added to my squid.conf file.
>>
>> mrtg is a VH I created as for the other hosts... I have no idea.
>>
>> Can someone explain to me what this means?
>>
>> After commenting out this my access situation went away.
>>
>> #acl mrtg.orourke-eng.com/ urlpath_regex ^/
>> #acl dstmrtg.orourke-eng.com/ dst 207.228.121.48
>> #acl aipmrtg.orourke-eng.com/ src 207.228.121.48
>> 192.168.0.0/24
>> #http_access allow mrtg.orourke-eng.com/ dstmrtg.orourke-
>> eng.com/ aipmrtg.orourke-eng$
>> #http_access deny mrtg.orourke-eng.com/ dstmrtg.orourke-
>> eng.com/ all
>>
>> On Sunday, July 28, 2002, at 01:06 , Joe Cooper wrote:
>>
>>> Dan Tappin wrote:
>>>
>>>> Hi all,
>>>> I am new to this list and I am looking for some help.
>>>> I am running Apache / Squid 2.4 on OS X with Tenon's iTools
>>>> (www.tenon.com).
>>>> I have a system with some VH set up and now I am getting the
>>>> following error
>>>> pages on all VH's:
>>>> ERROR
>>>> The requested URL could not be retrieved
>>>> ------------------------------------------------------------------------
>>>> While trying to retrieve the URL: http://www.orourke-eng.com:81/
>>>> The following error was encountered:
>>>> * Access Denied.
>>>
>>>
>>>> If I disable Squid I can only access the VH by adding :81 to the URL's.
>>>
>>>
>>> Yes. This is expected behavior. Port 81 access is not allowed by
>>> default. Do a search in your Squid configuration file for
>>> "Safe_ports" and all will become clear, I think.
>>> -- Joe Cooper <joe@swelltech.com>
>>> Web caching appliances and support.
>>> http://www.swelltech.com
Received on Mon Jul 29 2002 - 08:48:16 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:23 MST