������������, Dmitry.
�� ������ 5 ������� 2002 �., 15:20:14:
> ������ ������, ��� ��������� oops ���������� ����� mp3, zip, mpg,
> etc.
> ���� html �������� �� ����� ��������, � �������� ���������� gdburl
> ���� �� ��������� ���������� � �������� ������. � ���� ������ �����
> Squid ��� �� ��� ��� ������ ��������� � ��� ������� �������� ��������
> ���� ����� ��� ������ �� ����.
DN> ##
DN> # maximum size of the object we will cache
DN> ##
DN> maxresident 20m
���������, ������ ������ ����� html � jpg �� ������� �� ����������.
������� ������ oops.cfg, ����� � ������� ���-�� � ACL???
nameserver xx.xx.xx.xx
http_port 3128
icp_port 3130
userid oops
logfile /usr/local/oops/logs/oops.log { 3 1m } unbuffered
accesslog /usr/local/oops/logs/access.log { 3 10m }
pidfile /usr/local/oops/logs/oops.pid
statistics /usr/local/oops/logs/oops_statfile
mem_max 16m
lo_mark 8m
start_red 0
default-expire-value 60
ftp-expire-value 90
max-expire-value 120
last-modified-factor 30
default-expire-interval 10
icp_timeout 5000
disk-low-free 3
disk-ok-free 5
force_http11
force_completion 99
maxresident 20m
insert_x_forwarded_for yes
insert_via yes
acl WINUSER usercharset windows-1251
acl DOSUSER usercharset ibm866
acl UNIXUSER usercharset koi8-r
acl RUS dstdom ru su
acl UKR dstdom ua
acl HTMLS content_type text/html
acl ADMINS src_ip 127.0.0.1
acl PURGE method PURGE
acl_deny PURGE !ADMINS
stop_cache ?
stop_cache cgi-bin
parent xx.xx.xx.xx 3128
peer xx.xx.xx.xx 3128 3130 {
parent ;
deny mydomain ;
allow dstdomain * ;
}
local-domain mydomain
local-networks 192.168/16
group ooi {
redir_mods redir ;
networks 192.168/16 ;
badports [0:79],110,138,139,513,[6000:6010] ;
miss allow;
http {
allow dstdomain * ;
}
icp {
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 400m ;
}
module lang {
default_charset windows-1251
# Recode tables and other charset stuff
CharsetRecodeTable windows-1251 /usr/local/oops/tables/koi-win.tab
CharsetRecodeTable ISO-8859-5 /usr/local/oops/tables/koi-iso.tab
CharsetRecodeTable ibm866 /usr/local/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 {
template /usr/local/oops/err_template.html
lang ru
}
module redir
{
file /usr/local/oops/redir_rules
template /usr/local/oops/redir_template.html
}
module oopsctl {
socket_path /usr/local/oops/logs/oopsctl
html_refresh 300
}
module vary {
user-agent by_charset
accept-charset ignore
}
module gigabase_db {
dbhome /usr/local/oops/DB
dbname gdburl
}
� ���������,
���� ����������
styx_ol.fm mailto:[EMAIL PROTECTED]
=====================================================================
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/