> Kenapa setiap beberapa hari, browser di client selalu error
> untuk koneksi http?

> Spek Kompie:
> Pentium 667 MHz
> SDRAM 196
> MoBo Soyo
> Harddisk IDE Quantum 10 GB
> ATX

Siip! Saya hanya pake P200 SMP, MEM 64M --> never die
Komentar berikut cuman membandingkan dengan squid.conf server saya,kali aja
berguna.

> --start of squid.conf--
>
> http_port 3128

Hmm, berarti klien harus nyambung ke internet pake alamat proxy
proxy.gateway.warnet.net:3128.
Pastikan tidak di block oleh firewall.

> icp_port 0
> acl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
> cache_mem 65 MB (1/3 dari SDRAM)

ok

> cache_swap_low 90
> cache_swap_high 95
> debug_options ALL,1
> maximum_object_size 4096 KB
> ipcache_size 1024
> ipcache_low 90
> ipcache_high 95
> fqdncache_size 1024

saya tidak pake lines di atas.

> redirect_rewrites_host_header off
> cache_dir ufs /cache 2000 16 256

coba ditambah: replacement_policy GDSF
Lihat /cache apakah sering penuh?

> cache_access_log /var/log/squid/access.log
> cache_log /var/log/squid/cache.log
> cache_store_log /var/log/squid/store.log
> emulate_httpd_log on
> pid_filename /var/run/squid.pid
> client_netmask 255.255.255.255
> dns_nameservers 192.168.1.1
> redirect_children 10
> refresh_pattern ^ftp: 1440 20% 10080
> refresh_pattern ^gopher: 1440 0% 1440
> refresh_pattern . 0 20% 4320
> reference_age 2 week
> quick_abort_min 16 KB
> quick_abort_max 16 KB
> quick_abort_pct 95
> negative_ttl 5 minutes
> positive_dns_ttl 6 hours
> negative_dns_ttl 5 minutes
> connect_timeout 120 seconds
> peer_connect_timeout 30 seconds
> read_timeout 15 minutes
> request_timeout 30 seconds
> client_lifetime 1 day
> half_closed_clients on
> pconn_timeout 120 seconds
> shutdown_lifetime 30 seconds

saya tidak pake lines di atas

> acl blockedsites url_regex "/etc/squid/block.txt"
> acl all src 0.0.0.0/0.0.0.0
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
> acl warnet src 192.168.1.1-192.168.1.7/255.255.255.255
> acl SSL_ports port 443 563
> acl Safe_ports port 21 70 80 98 210 443 563 1025-65535
> acl Safe_ports port 280
> acl Safe_ports port 488
> acl Safe_ports port 591
> acl Safe_ports port 777

i think fine, coba:
acl Safe_ports 21 70 80 98 210 443 563 280 488 591 777 443 563 1025-65535

saya cuman pake:
acl Safe_ports port 80 443 210 119 70 21 1025-65535

> acl CONNECT method CONNECT
> http_access deny blockedsites
> http_access allow manager localhost
> http_access allow manager
> http_access allow warnet
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access allow localhost
> http_access deny all

coba http_access deny CONNECT !SSL_ports diganti:
http_access deny CONNECT
http_access deny !SSL_ports

> icp_access allow all
> miss_access allow all

saya tidak pake 2 lines di atas.

> cache_effective_user squid
> cache_effective_group squid
> visible_hostname proxy.gateway.warnet.net

fine

> announce_period 1 day
> httpd_accel_host virtual
> httpd_accel_port 80
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on

saya tidak pake, apa squidnya jadi satu dengan web server?

> #logfile_rotate 10

saya pake logrotate daemon yang dipasang di /etc/logrotate.d/squid

> query_icmp off

tidak pake

> buffered_logs off

punyaku on

> --end of squid.conf--

Sorry, nggak mecahin masalah




http://www.eKilat.com emailnya Indonesia!




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to