http://zipper.paco.net/~igor/oops/oops-1.2e10.tar.gz
���������� ���-����� ������. ��������� refresh_pattern, regex, acl
������� ��������� - www-accelerator. ��, ��� �� ������ ��������
(� ����� ����, ��� ����� ���� ��������� ����/���������� ������), �������
��������� ������.
������ �� ��������������� ��������� ������� (����� �������� ������� ����,
������� ������������� �������������� ��� ���������):
������������ ��������� Host: ��� ���
# rewrite_host yes
������� ������ ����� ������ �� ������� ������ ��� �� ����� ����� �������
��� dead
# dead_timeout 20
������� ������� �������� �������� ������, ������� ��� ������� ���
dead.
# sleep_timeout 600
���������� ��������� ����������� ���������� ����� ACL
refresh_pattern WWWPACO 10 5% 2000
���������� ��������� ��������������� �������� ���������� ����� ���������
map. ��� ����� ������������ �� regex-�, �� acl ������ �� ���������� ����
������� � ���, ��� ������� � map.
##
# Maps
##
# map_regex_charset client-charset server-charset regex destination ...
# Map activates when request destination match regex
# This map will convert charset and headers for text/* documents
##
# map_regex_charset koi8-r windows-1251 koi\.paco\.net:8081/(.*)
www-win.paco.odessa.ua/$1
##
# map_charset client-charset server-charset source destination ...
# Map activates when request destination match 'source' (not regex)
# This map will convert charset and headers for text/* documents
##
# map_charset koi8-r koi8-r stat.paco.net:8081 stat.paco.net
##
# map_regex
# Map activates when request destination match regex
##
# map_regex zipper\.paco\.net:8081/(.*)
zipper.paco.odessa.ua/~igor/$1
##
# map source destination ...
##
# Map activates when request destination match 'source'
##
# map www.topping.com.ua:8081 ss5.paco.net:80
www.paco.net:8080
##
# map_acl ACL regex destination ...
# Map activates when request match ACL and regex.
##
# map_acl WINUSER http://www(.*) www-win$1 ss5.paco.net
##
# default - if nothing matches
##
# default www.paco.net:80
���� ������ ��������� ��������� Location, ������� ����� ����������.
##
# rewrite_location ACL regex dest
# If you need to rewrite 'Location:' header.
# When request match ACL, then 'Location' header will be rewritten
##
# rewrite_location REWRITEPORTS www(.*)ru:.* www$1.ru
Igor Khasilev |
PACO Links, [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://www.paco.net/oops/