Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Applications > squid server is not working properly.The requested URL could not be retrieved

Forgot Password?
 Linux Applications   I cant get "X" app to work... also discussion about linux programs.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 12-19-2008   #1 (permalink)
Just Joined!
 
Join Date: Dec 2008
Posts: 2
squid server is not working properly.The requested URL could not be retrieved

ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: testing.com

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 root.


anitosh is offline  


Reply With Quote
Old 12-26-2008   #2 (permalink)
Just Joined!
 
Join Date: Jan 2007
Location: San Antonio, TX
Posts: 21
Send a message via AIM to trunty
The default squid.conf denies everyone except for localhost.

----
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
----

Have you created additional ACLs to allow additional devices access to the proxy?
trunty is offline   Reply With Quote
Old 01-04-2009   #3 (permalink)
Just Joined!
 
Join Date: Jan 2009
Posts: 2
You have to create your access lists of your host to be able to use the server. In squid.conf file, locate the set of strings 'acl localhost src'. Insert the access rule below it similar to this:

acl localhost src 127.0.0.1/255.255.255.255
acl yournetwork src {whatever ip and subnet you use} <---Inserted

then also locate the 'http_access allow localhost' and insert the following line.

http_access allow yournetwork

Hope this works

junpriv
junpriv is offline   Reply With Quote
Old 2 Weeks Ago   #4 (permalink)
Just Joined!
 
Join Date: Nov 2009
Posts: 3
similiar issue....

Hi All, im having a similiar issue...

Im currently running Squid and Dansguardian with NTLM authentication - Every website works, and i get full reporting. except ONE website, and its doing my head in.

The error i get is
"Access Denied"

"Access control configuration prevents your request from being allowed at this time"

Even though the user is successfully authenticated and browsing other sites via tabs @ the same time. any thoughts? is it possible that this website is doing some dodgy code my squid box doesnt like?

the website in question is rivierasyndication's australian website...

note: i am in no way a spammer advertising a site etc.. this is a legit question :/


Any Help would be greatly appreciated. i can post up my squid.conf file if needed?
zero_1984 is offline   Reply With Quote
Old 2 Weeks Ago   #5 (permalink)
Just Joined!
 
Join Date: Nov 2009
Posts: 3
More detail...

Hi All,

looking further into the issue i did a cat | grep into access.log and found that the following is happening

tcp_miss/200
TCP_client_refresh_miss/403
TCP_negative_hit/403


i dont understand why only this website is having an issue? anyone able to clarify something about this problem?
zero_1984 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:46 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2