On Wednesday 02 March 2005 11:22 am, newbie wrote:
> saya sedang mencoba mengkonfigur squid menggunakan squidGuard dengan
> contoh tulisan mas Avudz
> instalasi dan konfigurasi sudah ok dan sampai pada tahapan berikut :
>
> [EMAIL PROTECTED]:~# cd /usr/local/squidGuard/db/porn/
> [EMAIL PROTECTED]:/usr/local/squidGuard/db/porn# grep playboy domains
> playboy.com
> twistedplayboy.com
> playboy.de
> playboy.newmail.ru
>
> [EMAIL PROTECTED]:/usr/local/squidGuard/db/porn# echo "http://www.playboy.com
> 192.168.4.49/- - GET" | /usr/local/squidGuard/bin/squidGuard -d
> 2005-02-03 -c /etc/squidGuard.conf
> 2005-03-02 10:53:05 [4123] squidGuard 1.2.0 started (1109735585.490)
> 2005-03-02 10:53:05 [4123] squidGuard ready for requests (1109735585.498)
> http://192.168.4.49/bannerfilter/banned.html 192.168.4.49/- - GET
> 2005-03-02 10:53:05 [4123] squidGuard stopped (1109735585.500)
>
> kemudian coba dengan perintah ini
> /usr/local/squid/bin/squidclient http://www.playboy.com
> tetapi dia tidak diblock dan tidak dibelokkan ke banned.html yang sudah
> disiapkan, kenapa hal ini terjadi ya ???
>
> untuk squid.conf sudah saya tambahkan seperti ini :
> ---------------------------------
> redirect_program /usr/local/squidGuard/bin/squidGuard -c
> /etc/squidGuard.conf
> redirect_children 5
> -----------------------------------------
> dan sudah di squid -k reconfigure
>
> mohon bantuan untuk mengkoreksinya ya .................... :(
>
> yang lagi pusing
> newbie


coba check dengan cara begini : 

# squidclient -h 10.10.2.4 -p 8080 http://www.playboy.com
HTTP/1.0 200 OK
Date: Sun, 20 Feb 2005 07:16:45 GMT
Server: Apache/1.3.31 (Unix) PHP/4.3.9
Last-Modified: Sun, 20 Feb 2005 07:14:24 GMT
ETag: "3181d5-283-421838d0"
Accept-Ranges: bytes
Content-Length: 643
Content-Type: text/html
X-Cache: HIT from squid.avudz
Proxy-Connection: close

10.10.2.4 = ip proxy
8080 = port proxy

dan pastikan redirect_program nya benar, check dulu manual.

regards,

./avd


-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip, FAQ, dan info milis di http://linux.or.id/milis
Tidak bisa posting? Baca:
http://linux.or.id/problemmilis
http://linux.or.id/tatatertibmilis

Kirim email ke