Re: [squid-users] Access denied - ACL problem

From: Nabin Limbu <nlimbu@dont-contact.us>
Date: Wed, 29 Aug 2007 22:26:05 +0545 (NPT)

In squid.conf,

BEFORE the line "http_access deny all" add below 2 lines

acl mynetwork <yournetworkaddress>
http_access allow mynetwork

reload squid configuration.

Regards
Nabin Limbu

> I am new to squid so please bear with me.
> I have an internal server that runs a helpdesk application and should
> allow users to access it using the computer name as the url on port 81.
> I have added a PTR record in our internal DNS server to point
> "servername" to the correct ip address.
>
> http://servername:81
>
> However, squid is displaying the following error.
> +++++++++++++++++++++++++++++++++
> ERROR
> The requested URL could not be retrieved
>
> While trying to retrieve the URL: http://servername:81/dashboard
>
> 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.
>
> Your cache administrator is webmaster.
> Generated Wed, 29 Aug 2007 16:40:50 GMT by sentinal (squid/2.5.STABLE12)
>
> +++++++++++++++++++++++++++++++++
>
> I can access this if I disable my proxy settings in the browser.
> Can anyone tell me how to correct this.
>
>
> This email and any files transmitted with it are intended solely for the
> use of the individual (squid-users@squid-cache.org) or entity addressed
> at squid-users@squid-cache.org. If you have received this email in error
> please notify the system manager. Please note that any views or opinions
> presented in this email are solely those of the author and do not
> necessarily represent those of the company.
Received on Wed Aug 29 2007 - 11:30:21 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT