April 19, 2024, 07:37:39 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Squid Access Denied  (Read 6323 times)

Offline sathish

  • Linux Learner
  • ***
  • Posts: 73
Squid Access Denied
« 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...

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Squid Access Denied
« Reply #1 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 proxyand modify it as for your need..  It will solve ur problems....

Offline sathish

  • Linux Learner
  • ***
  • Posts: 73
yahoo website
« Reply #2 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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Squid Access Denied
« Reply #3 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..