「squid」の編集履歴(バックアップ)一覧に戻る

squid - (2008/10/20 (月) 09:35:32) の編集履歴(バックアップ)


編集Top > squid
squid2.613
#cd
/usr/ports/www/squid
#make
install clean
#vi
/usr/local/etc/squid/squid.conf
http_port 8080
acl localnet src 192.168.0.0/255.255.255.0
http_access allow localnet
forwarded_for off
visible_hostname srv.raj.homeip.net
httpd_accel_port 80
httpd_accel_host
cache mem 8 MB
maximum object size 4098 KB
cache_dir /usr/local/squid/cache 100 16 255
reference age 1 month
透過
httpd_accel_single_host on
httpd_accel_port 80
httpd_accel_with proxy on
httpd_accel_uses_host_header on
ブラックリスト
acl black url_regex "/etc/squid/blacklist.txt"
http_access deny bleck
#vi
/etc/squid/blacklist.txt
http://*~~~*
#vi
/etc/squid/errors
#vi
/usr/share/squid/errors/Japanese/etc/squid/errors
/var/log/squid/~

/

#squid
  • Z
#vi
/etc/rc.conf
squid_enable="YES"