�� ����� � ��� ����:  redir_mods transparent redir ������ ������� ����������
���������, �� ���� � ������ �������� �� ��������, ��� ���� ��� ������ � html
�� ��������, �.�. ��� �������������.

�������� ������ ������ oops - �������� �� ��������, ����-�� �� �������.

redir_rules:
----------------------------------------
www.station.ru          http://www.medison.ru
----------------------------------------


oops.cfg:
----------------------------------------
nameserver 195.2.71.130

bind 195.2.71.130
http_port 3129

connect-from 195.2.71.130
userid squid

logfile /usr/local/oops/logs/oops.log { 3 1m } unbuffered
accesslog /usr/local/oops/logs/access.log { 2 5m } unbuffered
pidfile /usr/local/oops/logs/oops.pid
statistics /usr/local/oops/logs/oops_statfile

mem_max 32m
lo_mark 16m

default-expire-value    7
ftp-expire-value 7
max-expire-value        30
last-modified-factor 5
default-expire-interval 1
disk-low-free 3
disk-ok-free 5

force_http11
force_completion 75
maxresident 1m
always_check_freshness

insert_x_forwarded_for yes
insert_via yes

acl ADMINS src_ip 127.0.0.1/32 195.2.71.134/32
acl PURGE method PURGE
acl ALL src_ip 0/0
acl LOCAL src_ip include:/usr/local/oops/acl_local
acl DIALUP src_ip 195.2.71.138
acl NOCACHE urlregex include:/usr/local/oops/nocache.url
acl CACHEABLE urlregex
(\.gif$|\.jpg$|\.jpeg$|\.jpe$|\.mid$|\.wav$|\.mpeg$|\.avi$)

acl_deny PURGE !ADMINS

stop_cache_acl NOCACHE

refresh_pattern CACHEABLE 0 20% 4320
refresh_pattern NOCACHE 0 0% 0

group medison {
    redir_mods transparent redir;
    networks_acl LOCAL ;
    badports [0:79],110,138,139,513,[6000:6010] ;
    miss allow;
    http {
allow dstdomain * ;
    }
}

group world {
    redir_mods transparent redir;
    networks 0/0;
    badports [0:79],110,138,139,513,[6000:6010];
    http {
allow dstdomain include:/usr/local/oops/web_our.url ;
deny dstdomain * ;
    }
}

storage {
path /usr/local/oops/storages/oops_storage ;
size 100m ;
}

module berkeley_db {
dbhome /usr/local/oops/DB
dbname dburl
db_cache_mem 64m
}

module lang {
default_charset koi8-r
# 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 {
# error reporting module

# template
template /usr/local/oops/error.htm

# Language to use when generate Error messages
lang en
}

module oopsctl {
socket_path /usr/local/oops/logs/oopsctl
html_refresh    300
}

module vary {
user-agent by_charset
accept-charset ignore
}

module transparent {
 myport 3128
}

module redir {
file /usr/local/oops/redir_rules
template /usr/local/oops/redir.htm
}
----------------------------------------

=====================================================================
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://www.paco.net/oops/

Дати відповідь електронним листом