Find the answer to your Linux question:
Results 1 to 5 of 5
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    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.



  2. #2
    Just Joined!
    Join Date
    Jan 2007
    Location
    San Antonio, TX
    Posts
    21
    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?

  3. #3
    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

  4. #4
    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?

  5. #5
    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •