Наше всем!
Что-то я стал замечать, что у меня кэшируется очень мало траффика - за
месяц из 30Г прохождения через оопс тока 3 процента... Это тенденция или
мои кривые ручки?
вот конфиги...
----- oops.conf ------
nameserver 195.66.89.21
bind 127.0.0.1
http_port 3128
userid oops
logfile /var/log/oops/oops.log { 3 1m } unbuffered
accesslog /var/log/oops/access.log { 2 1000m } unbuffered
pidfile /var/run/oops/oops.pid
statistics /var/run/oops/oops_statfile
mem_max 64m
lo_mark 8m
default-expire-value 7
ftp-expire-value 7
anon_ftp_passw [EMAIL PROTECTED]
max-expire-value 30
last-modified-factor 5
#dont_cache_without_last_modified
default-expire-interval 1
icp_timeout 1000
disk-low-free 3
disk-ok-free 5
force_http11
always_check_freshness
force_completion 75
maxresident 1m
insert_x_forwarded_for yes
insert_via yes
fetch_with_client_speed yes
acl BADPORTS port [0:79],110,138,139,513,[6000:6010]
acl LOCAL_NETWORKS src_ip
include:/usr/local/etc/oops/acl_local_networks
acl AIM content_type AIM/HTTP
acl IMAGES content_type include:/usr/local/etc/oops/images_acl
acl MSIE header_substr user-agent MSIE
acl ADMINS src_ip 127.0.0.1
acl PURGE method PURGE
acl CONNECT method CONNECT
acl SSLPORT port 443
##
# acl_deny [!]ACL [!]ACL ...
# deny access for combined acl
##
acl_deny PURGE !ADMINS
acl_deny CONNECT !SSLPORT
##
# Never cache objects with URL, containing next strings in path
##
stop_cache ?
stop_cache cgi-bin
##
# stop_cache_acl [!]ACL [!]ACL ...
# Stop cache using ACL
##
stop_cache_acl AIM
##
# refresh_pattern ACLNAME min percent max
# 'min' and 'max' are limits between Expite time will be assigned
# Iff document have no expire: header and have Last-Modified:
header
# we will use 'percent' to estimate how far in the future document
will
# be expired.
##
refresh_pattern IMAGES 2000000 50% 20000000
local-domain tptus.ru
local-networks 192.168/16 195.66.89/24 127/8
group mynet {
networks_acl LOCAL_NETWORKS;
badports [0:79],110,138,139,513,[6000:6010] ;
miss allow;
redir_mods transparent;
connect_from 195.66.89.1;
http {
allow dstdomain * ;
}
}
group world {
networks 0/0;
badports [0:79],110,138,139,513,[6000:6010];
http {
deny dstdomain * ;
}
icp {
deny dstdomain * ;
}
}
storage {
path /usr/local/oops/storages/oops_storage ;
size 2G ;
}
storage {
path /usr/local/oops/storages/oops_storage1 ;
size 2G ;
}
module lang {
default_charset koi8-r
# Recode tables and other charset stuff
CharsetRecodeTable
windows-1251 /usr/local/etc/oops/tables/koi-win.tab
CharsetRecodeTable
ISO-8859-5 /usr/local/etc/oops/tables/koi-iso.tab
CharsetRecodeTable ibm866 /usr/local/etc/oops/tables/koi-alt.tab
CharsetAgent windows-1251 AIR_Mosaic IWENG/1 MSIE WinMosaic
(Windows (WinNT;
CharsetAgent windows-1251 (Win16; (Win95; (Win98; (16-bit)
Opera/3.0
CharsetAgent ibm866 DosLynx Lynx2/OS/2
}
module err {
# error reporting module
# template
template /usr/local/etc/oops/err_template.html
# Language to use when generate Error messages
lang ru
}
module oopsctl {
# path to oopsctl unix socket
socket_path /var/run/oops/oopsctl
# time to auto-refresh page (seconds)
html_refresh 300
}
module vary {
user-agent by_charset
accept-charset ignore
}
module transparent {
myport localhost:3128
}
module berkeley_db {
dbhome /usr/local/oops/DB
dbname dburl
db_cache_mem 8m
}
-------- end ---------
----- images_acl -----
image/gif
image/jpg
image/tif
image/png
application/x-shockwave-flash
-------- end ---------
=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://lists.paco.net/oops-rus/