Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


Closed Thread
  Search this Thread
Old 03-22-2009, 03:42 PM   #1
LQ Newbie
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
Squid Error: Cache access denied.

Hi all,
I am trying to configure a squid proxy to restrict access to it using NCSA, following the quick how-to founded on:
In my squid.conf file I have added the following lines, after I created with htpasswd a pasword file with only a username and stored it in /etc/squid/squid_passwd:
# Added this to the auth_param section of squid.conf
auth_param basic program /usr/lib64/squid/ncsa_auth /etc/squid/squid_passwd
# Added this to the bottom of the ACL section of squid.conf
acl ncsa_users proxy_auth REQUIRED
# Added this at the top of the http_access section of squid.conf
http_access allow ncsa_users
But when I trying to surf with the proxy i receive the error message:
While trying to retrieve the URL:

The following error was encountered:

* Cache Access Denied.

Sorry, you are not currently allowed to request:

from this cache until you have authenticated yourself.

Have you any idea to resolve the problem?
If you need I can post also the entire squid.conf file.
Thank you a lot
Old 03-23-2009, 01:09 PM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Access Denied Help eurekaguy4u Linux - Networking 21 04-29-2010 11:30 AM
Squid Error: Cache access denied vale_ron Linux - Server 3 03-23-2009 02:26 PM
Squid Access Denied laroseengineer Linux - Server 9 02-29-2008 07:13 AM
Mozilla (Cache Access Denied) Eileen Linux - Networking 3 04-20-2006 08:31 AM
Squid url port 81 access-denied error Linux - Networking 0 10-13-2005 10:55 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration