Apache-Talk mailing list archive (apache-talk@lists.lexa.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[apache-talk] =?koi8-r?B?bW9kX2d6aXAgzsUg19nEwaPUIFZhcnk=?=
Здравствуйте Михаил,
поставил mod_gzip Version 1.3.26.1a , а он не выдаёт Vary и из-за этого Яндексу
через раз
выдаётся сжатый контент.
Вот конфиг mod_gzip:
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_can_negotiate Yes
mod_gzip_static_suffix .gz
AddEncoding gzip .gz
mod_gzip_update_static No
mod_gzip_command_version '/mod_gzip_status'
# mod_gzip_temp_dir /tmp
mod_gzip_keep_workfiles No
mod_gzip_minimum_file_size 500
mod_gzip_maximum_file_size 500000
mod_gzip_maximum_inmem_size 60000
mod_gzip_min_http 1000
mod_gzip_handle_methods GET POST
mod_gzip_item_exclude reqheader "User-agent: Mozilla/4.0[678]"
mod_gzip_item_include file \.html$
mod_gzip_item_include file \.shtml$
mod_gzip_item_exclude file \.js$
mod_gzip_item_exclude file \.css$
mod_gzip_item_include file \.pl$
mod_gzip_item_include file \.cgi$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include handler ^text/html$
mod_gzip_item_include mime ^text/html
mod_gzip_item_include mime ^text/plain$
mod_gzip_item_include mime ^httpd/unix-directory$
mod_gzip_item_exclude mime ^image/
mod_gzip_dechunk Yes
#LogFormat "%h %l %u %t \"%V %r\" %<s %b mod_gzip:
%{mod_gzip_result}n In:%{mod_gzip_input_size}n -< Out:%{mod_gzip_output_size}n
= %{mod_gzip_compression_ratio}n pct." common_with_mod_gzip_info2
#CustomLog logs/mod_gzip.log
common_with_mod_gzip_info2
mod_gzip_add_header_count Yes
mod_gzip_send_vary Yes
</IfModule>
делаю
> telnet softsearch.ru 80
Trying 195.2.91.104...
Connected to softsearch.ru.
Escape character is '^]'.
GET /1.shtml HTTP/1.0
Connection: Keep-Alive
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, */*
Accept-Encoding: gzip, deflate
Accept-Language: ru
Host: softsearch.ru
Referer: http://www.schroepl.net/
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
HTTP/1.0 200 OK
Date: Wed, 19 Nov 2003 00:53:05 GMT
Server: Apache
Cache-Control: max-age=3600
Expires: Wed, 19 Nov 2003 01:53:05 GMT
Connection: close
Content-Type: text/html; charset=windows-1251
Content-Encoding: gzip
Content-Length: 169
ЁQLЙO.╘,HUИ(ЙНQ((MКЙLVPТХЧ7vЦЧw
qQсхQ0С3)JМ+О,ЙМПKМСЧwхS╡г╡йQ╘┴)@╙$Ё$'Хоь┤w▐·~xх@бб┐╥O│l┘G
÷~za╦▒ж╡С┤*OКO╘THJOОПЙ/╡531w╣0╠г2╓=╣cЪa╦JnаФNЁ┌Ц"jъConnection closed by foreign
host.
>
А Vary в заголовке нет .
Как исправить сие?
С уважением,
Михаил Монашёв, SoftSearch.ru
mailto:postmaster@softsearch.ru
ICQ# 166233339
http://softsearch.ru/
Без бэкапа по жизни.
|