LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Squid favor... (http://www.linuxquestions.org/questions/linux-networking-3/squid-favor-6799/)

sancho5 09-22-2001 09:32 PM

Squid favor...
 
Is there any goodly chap out there that could show me a copy of their squid.conf? Feel free to leave off any sections that are best not shared, but I'm studying squid from a windows box and would like to see the conf file, or look over one.

mindsurfer 09-24-2001 01:41 AM

Hi,

Simle stand alone http-caching proxy:
http_port 8080
icp_port 0
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 16 MB
cache_dir ufs /cache 200 16 256
redirect_rewrites_host_header off
replacement_policy GDSF
acl localnet src 192.168.1.0/255.255.255.0
acl localhost src 127.0.0.1/255.255.255.255
acl Safe_ports port 80 443 210 119 70 21 1025-65535
acl CONNECT method CONNECT
acl all src 0.0.0.0/0.0.0.0
http_access allow localnet
http_access allow localhost
http_access deny !Safe_ports
http_access deny CONNECT
http_access deny all
cache_mgr admin@foo.com
cache_effective_user squid
cache_effective_group squid
log_icp_queries off
cachemgr_passwd my-secret-pass all
buffered_logs on

Good luck.


All times are GMT -5. The time now is 06:11 AM.