LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-14-2006, 05:00 PM   #1
jocast
Member
 
Registered: May 2004
Location: Laredo
Distribution: FC3
Posts: 185

Rep: Reputation: 30
What am i doing wrong?


This is my squid.conf
http_port 192.168.1.179:3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

redirect_program /usr/local/bin/squidGuard -c /stc/squid/squidGuard.conf

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY



acl all src 192.168.1.0/255.255.255.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.0
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl Oficina src 192.168.1.1-192.168.1.40/255.255.255.0
acl Super src 192.168.1.91-192.168.1.180/255.255.255.0


http_access allow Super
#http_access allow all

icp_access allow all
cache_effective_user squid
cache_effective_group squid
log_icp_queries off
buffered_logs on

deny_info http://192.168.1.188/Restricted.htm porn



And this is my squidGuard.conf

dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/log

dest gambling{
log gambling
domainlist gambling/domains
urllist gambling/urls
}

dest warez{
log warez
domainlist warez/domains
urllist warez/urls
}

acl {
default {
pass all !gambling !warez all
redirect 302:http://www.google.com
}
}

Last edited by jocast; 03-15-2006 at 09:44 AM.
 
Old 03-15-2006, 09:50 AM   #2
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Well, the first thing you need to do is tell us what problem you're having with Squid and which Linux distro you're using.

Peace...
 
Old 03-15-2006, 10:19 AM   #3
jocast
Member
 
Registered: May 2004
Location: Laredo
Distribution: FC3
Posts: 185

Original Poster
Rep: Reputation: 30
am usinf fedora core 3
the problem is whern i unable the line
redirect_program /usr/local/bin/squidGuard -c /stc/squid/squidGuard.conf

the squid works fine i can allow and deny access to my ipś

but if i enable it it does not shows me any webpage...
 
  


Reply


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
what' s wrong phoenix_fei Programming 4 01-18-2005 10:56 AM
my time is wrong and calender is also wrong Paxmaster Linux - General 6 12-16-2004 12:46 AM
What's wrong? Gero Programming 1 12-12-2004 11:45 AM
not sure what is wrong with it... Jalalabee Programming 5 02-13-2004 02:19 PM
What am i doing wrong? ksoma Linux - Newbie 18 07-10-2003 04:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:42 AM.

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