Hello all,

����� ���� ������.

� ��� ����� ������ ���������������� oops (����� �� �� somehost
��������) ���, ����� �� ������ �� 80 ����� � ���� �������� ������ ��
��������, �������, html ����� (�.�. �������) �� ���������� �� ��
somehost:3128 (Apache), � ���� �� ������������ �������, �� ��
somehost:8080 (jakarta). ������ �������� � ������ �������
���������� oops, � �������� ��� �.�. ��� ������ ������������ ���������
�� ���������� ���� CSID � ��� ���������� �� ��������� ������ ��� ��
oops. ������ ���������� ����������� ��������� ����������� ������������
����� jakarta � ���������� ���� � �����������
���������������� ����� ����������� �� 80-� ���� ����� somehost.
�� otherhost ����� Oracle Web Cache (��� ����� ������:) �
���������� � somehost:80 �� ���������.

��� accel_maps:
# ����� � �� ����?
rewrite_host            yes
# ����������� ������� (apache)
map_regex    somehost/images/(.*)       somehost:3128/images/$1
map_regex    somehost/userimg/(.*)      somehost:3128/userimg/$1
map_regex    somehost/banners/(.*)      somehost:3128/banners/$1
map_regex    somehost/css/(.*)          somehost:3128/css/$1
map_regex    somehost/js/(.*)           somehost:3128/js/$1
map_regex    somehost/projects/(.*)     somehost:3128/projects/$1
# ������������ ������� (jakarta)
map_regex    somehost/(.*)              somehost:8080/$1

��� oops.cfg:
...
acl     IMAGES          urlregex        (.*)\.(gif|jpg|jpeg)
acl     CSS             urlregex        (.*)\.css
acl     JS              urlregex        (.*)\.js
acl     HTML            urlregex        (.*)\.(html|htm)
acl     SWF             urlregex        (.*)\.swf(.*)
...
stop_cache_acl !IMAGES !CSS !JS !HTML !SWF
...
refresh_pattern         IMAGES          20 50% 200
refresh_pattern         CSS             20 50% 200
refresh_pattern         JS              20 50% 200
refresh_pattern         HTML            20 50% 200
refresh_pattern         SWF             20 50% 200
...

��� ��������� � http://somehost:80 ��� ���������, ������ ����������� �
���������� ���� ������ (�� �������� ��� ������� ���������� java ����),
� ��� ��� ��������� �� http://otherhost:80 ��� ����� Oracle Web Cache
�������� ������� �� �������� � ������ ��� �������. � � �����
access.log � oops ���������:

...
1011646940.000 162044 62.231.14.10 TCP_MISS/200 8760 GET http://otherhost/restaurants 
- DIRECT/otherhost text/html
1011647236.000 44 213.189.207.116 TCP_ERROR/555 0 GET http://otherhost/logo.gif - 
DIRECT/otherhost text/html
1011647236.000 46 213.189.207.116 TCP_ERROR/555 0 GET 
http://otherhost/images/arrow_b.gif - DIRECT/otherhost text/html
1011647236.000 28 213.189.207.116 TCP_ERROR/555 0 GET http://otherhost/logo.gif - 
DIRECT/otherhost text/html
1011647236.000 28 213.189.207.116 TCP_ERROR/555 0 GET 
http://otherhost/images/kino_white.gif - DIRECT/otherhost text/html
1011647236.000 123 213.189.207.116 TCP_MISS/504 2396 GET http://otherhost/logo.gif - 
DIRECT/otherhost text/html
...

��� �� ������ 555, ������ ��� ���������� ����� 62.231.14.10 ���
��������, � ��� 213.189.207.116 ������ 555? � ��� ����� ���� �������
����� ����, ��� � ������� � ��� ���������, � �� ������� Oracle Web
Cache? � ������ �� ��� �������� ����� text/html?

������ ����� ����� ����������� � ��� ��� ������???

������� �������.
  

-- 
Best regards,
 �������                          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/


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