Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => General Networking Support in Linux => Topic started by: sathish on December 30, 2003, 08:04:11 PM

Title: Squid Access Denied
Post by: sathish on December 30, 2003, 08:04:11 PM
Hello All,

I have installed and configured squid (RedHat 9.0), while I browse in the client side through MSIE, It will gives the error messge:

ERROR

The requested URL could not be retrieved
Access Denied www.google.com

Access control configuration prevents your request from being allowed at this time.
Please contact your service provider if you feel this is incorrect.
Generated Tue, 30 Dec 2003 18:53:33 GMT by linuxsystem.com suid/2.5.STABLE1).

I have not configured acl timings (access timings).

can anybody solve the prob.

Thank you
Sathish...
Title: Squid Access Denied
Post by: Ricky on December 31, 2003, 08:17:49 AM
Well if you have not used any extra iptables firewall i.e. if it is only due to squid than you  must use this configuration file posted by in the following thread...
Squid proxy configuration and Transparent proxy (http://www.linuxsolved.com/forums/ftopic116.html)and modify it as for your need..  It will solve ur problems....
Title: yahoo website
Post by: sathish on December 31, 2003, 12:23:45 PM
Hi Ricky !!

I solved my prob,  I made a mistake rectified now.. squid is working fine.

Now i want to block a yahoo site.. how to do this... in squid.conf


Thank you,

Sathish
Title: Squid Access Denied
Post by: Ricky on February 14, 2004, 12:42:47 PM
It should look like this..  say you want to block www.yahoo.com then..
Code: [Select]
acl siteblock dstdomain .yahoo.com
http_access deny siteblock
Here siteblock is the acl name i have chosen..