[proxy] log unmodified (squid3)

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

[proxy] log unmodified (squid3)

Postby sipelaut » 28 Mar 2013, 11:37

ada yang tau ngak maksud dari log ini
kok unmodified

Code: Select all

1364444641.731    343 192.168.11.3 TCP_REFRESH_UNMODIFIED/304 354 GET http://openx.detik.com/delivery/fl.js - DIRECT/203.190.242.71 -
1364444641.762    373 192.168.11.3 TCP_REFRESH_UNMODIFIED/304 354 GET http://openx.detik.com/images/1x1.gif - DIRECT/203.190.241.40 -
1364444641.764    374 192.168.11.3 TCP_REFRESH_UNMODIFIED/304 354 GET http://www.detik.com/urchin.js - DIRECT/203.190.241.43 -
1364444641.777    387 192.168.11.3 TCP_REFRESH_UNMODIFIED/304 396 GET http://detik.net.id/detik/libraries/jqueryplugins/dc-popup/1.0.0/dc.js - DIRECT/203.190.242.68 -
1364444641.790    401 192.168.11.3 TCP_REFRESH_UNMODIFIED/304 396 GET http://detik.net.id/detik/libraries/jquery/1.8.1/jquery.min.js - DIRECT/203.190.241.166 -
User avatar
sta
Posts: 2003
Joined: 27 Apr 2010, 09:49
Contact:

Re: [proxy] log unmodified (squid3)

Postby sta » 28 Mar 2013, 11:45

kagak ngarti om, coba aja copas
TCP_REFRESH_UNMODIFIED/304 354 GET
di google
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [proxy] log unmodified (squid3)

Postby q_p » 28 Mar 2013, 13:19

Kayaknya, di server origin sudah ada konten yang lebih baru dari pada yang tersimpan di proxy, tapi proxy tdk berani ambil karena ada rules di refresh_pattern yang melarang-nya. CMIIW
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: [proxy] log unmodified (squid3)

Postby sipelaut » 28 Mar 2013, 13:26

Pragola_Pati wrote:Kayaknya, di server origin sudah ada konten yang lebih baru dari pada yang tersimpan di proxy, tapi proxy tdk berani ambil karena ada rules di refresh_pattern yang melarang-nya. CMIIW

ini refresh pattern saya masbroo
mohon dikoreksi
refresh patternnya ngak sanga2 amat
menurutku sichh biasa aja nichh, :grin:

Code: Select all

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern ^http: 720 90% 432000
refresh_pattern . 1440 90% 10080
refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 10080 90% 43200 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|mpg|swf|flv|x-flv)$ 43200 90% 432000 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.(deb|rpm|exe|ram|bin|pdf|ppt|doc|tiff)$ 10080 90% 43200 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.(zip|gz|arj|lha|lzh|tar|tgz|cab|rar)$ 10080 95% 43200 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.(php|asp|aspx|cgi|html|htm|css|js) 10080 95% 43200 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.index.(html|htm)$ 0 75% 10080
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0

User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [proxy] log unmodified (squid3)

Postby q_p » 28 Mar 2013, 13:32

itu ada override-expire
hapus saja
:D
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: [proxy] log unmodified (squid3)

Postby sipelaut » 28 Mar 2013, 13:39

oke saya coba masbroo
maklum hasil copas...
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: [proxy] log unmodified (squid3)

Postby sipelaut » 28 Mar 2013, 14:12

kok masih ada yaa ???
tapi ngak sebanyak yang tadi!!!
apa mungkin butuh waktu dan penyesuaian dulu ???
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [proxy] log unmodified (squid3)

Postby q_p » 28 Mar 2013, 15:53

coba ganti ini cak =

Code: Select all

refresh_pattern -i \.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt)                43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar)           43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|dat|ad|txt|dll)                  43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob)    43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv)    43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale

refresh_pattern -i (/cgi-bin/|\?)     0     0%     0
refresh_pattern ^gopher:           1440    0%      1440
refresh_pattern ^ftp:              10080   95%    241920    override-lastmod reload-into-ims store-stale
refresh_pattern .                  180     95%    120960   override-lastmod reload-into-ims store-stale
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: [proxy] log unmodified (squid3)

Postby sipelaut » 29 Mar 2013, 09:26

Pragola_Pati wrote:coba ganti ini cak =

Code: Select all

refresh_pattern -i \.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt)                43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar)           43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|dat|ad|txt|dll)                  43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob)    43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv)    43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale

refresh_pattern -i (/cgi-bin/|\?)     0     0%     0
refresh_pattern ^gopher:           1440    0%      1440
refresh_pattern ^ftp:              10080   95%    241920    override-lastmod reload-into-ims store-stale
refresh_pattern .                  180     95%    120960   override-lastmod reload-into-ims store-stale



wedew.... malah eror masbro00........
padahal ini squid3 harusnya udah ngenalin sintaks versi dibawahnya (squid 2.9)
tapi malah ngak ngenalin nichhh, ane nginstallnya juga lewat repo, ngak ngompille
harusnyanya semuanya path2 yang ada masuk semua ??
apa memang harus lewat jalan ngompilee nichh masbroo... ???
plisssss hlep me again :grin:

Code: Select all

root@proxy:/etc/squid3# /etc/init.d/squid3 restart
* Restarting Squid HTTP Proxy 3.0 squid3   
*  Waiting... 
* ...   
* ...    [ OK ]
2013/03/29 09:07:54| redreshAddToList: Unknown option '\.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt)': ignore-must-revalidate
2013/03/29 09:07:54| redreshAddToList: Unknown option '\.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt)': store-stale
2013/03/29 09:07:54| redreshAddToList: Unknown option '\.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar)': ignore-must-revalidate
2013/03/29 09:07:54| redreshAddToList: Unknown option '\.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar)': store-stale
2013/03/29 09:07:54| redreshAddToList: Unknown option '\.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|dat|ad|txt|dll)': ignore-must-revalidate
2013/03/29 09:07:54| redreshAddToList: Unknown option '\.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|dat|ad|txt|dll)': store-stale
2013/03/29 09:07:54| redreshAddToList: Unknown option '\.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob)': ignore-must-revalidate
2013/03/29 09:07:54| redreshAddToList: Unknown option '\.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob)': store-stale
2013/03/29 09:07:54| redreshAddToList: Unknown option '\.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv)': ignore-must-revalidate
2013/03/29 09:07:54| redreshAddToList: Unknown option '\.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv)': store-stale
2013/03/29 09:07:54| redreshAddToList: Unknown option '^ftp:': store-stale
2013/03/29 09:07:54| redreshAddToList: Unknown option '.': store-stale
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [proxy] log unmodified (squid3)

Postby q_p » 29 Mar 2013, 13:04

Iya...ya...kok tdk support dengan opsi =
ignore-must-revalidate
dan
store-stale
Mungkin harus di patch, seperti pada squid-2.7.STABLE9 agar support dynamic contents.
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: [proxy] log unmodified (squid3)

Postby sipelaut » 30 Mar 2013, 15:21

cara ngepathnya gimana nich masbroo
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [proxy] log unmodified (squid3)

Postby q_p » 30 Mar 2013, 16:09

Squid-nya Install ulang dengan teknik compile. Coba dulu searching, betul tdk dugaan saya di atas. Sualnya anda kan pakai 3.0, siapa tahu sudah support tapi tdk enable dengan install default.
Saya tidak pelihara squid 3 cak, wis kadung seneng 2.7.STABLE9.
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: [proxy] log unmodified (squid3)

Postby sipelaut » 30 Mar 2013, 22:51

waduhh masih ngadepin mahluk yang namanya compile yahhh... :hajarpc: :wow: keknya ane makek yang default ajalah dulu... ngak berani matiin server lama2... ntar dikroyok orang sekampung lagi hekekek....

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 12 guests