Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

lug-bg: mod_gzip Apache?


  • Subject: lug-bg: mod_gzip Apache?
  • From: hristo@xxxxxxxxxxxx (hristo)
  • Date: Sun, 21 Jul 2002 08:36:58 GMT



Zdrawejte,
Problemat e che ne shte da compresira php scriptowe
Niakoj ima li idea kakaw moze da e problema?

Pusnah si towa:
Apache/1.3.26 (Unix) PHP/4.2.1 mod_gzip/1.3.19.1a
mod_perl/1.27 configured -- resuming normal operati
Mod_gzip si raboti s htm fajlowe:
mod_gzip: r->uri=[/index.html.en] OK: Bytes In:2673 Out:1251
Compression: 54 pct.
xxx.xxx.xxx.xxx - - [21/Jul/2002:12:29:42 -0400] "GET
/index.html.en HTTP/1.1" 200 1251 "-" "Mozilla/4.0
(compatible; MSIE 6.0; Windows 98)" mod_gzip: 54pct.
obache ne shte da compresira php
xxx.xxx.xxx.xxx - - [21/Jul/2002:12:30:28 -0400] "GET
/admin.php HTTP/1.1" 200 3604 "-" "Mozilla/4.0 (compatible;
MSIE 6.0; Windows 98)" mod_gzip: 0pct.

towa mi e configuraciata na mod_gzip

<IfModule mod_gzip.c>
mod_gzip_on                 Yes
mod_gzip_can_negotiate      Yes
mod_gzip_dechunk            Yes
mod_gzip_minimum_file_size  100
mod_gzip_maximum_file_size  0
mod_gzip_maximum_inmem_size 100000
mod_gzip_keep_workfiles     No
mod_gzip_temp_dir           /usr/local/apache/gzip
mod_gzip_item_include       file \.html$
mod_gzip_item_include       file \.txt$
mod_gzip_item_include       file \.jsp$
mod_gzip_item_include       file \.php$
mod_gzip_item_include       file \.pl$
mod_gzip_item_include       mime ^text/.*
mod_gzip_item_include       mime ^application/x-httpd-php
mod_gzip_item_include       mime ^httpd/unix-directory$
mod_gzip_item_include       handler ^perl-script$
mod_gzip_item_include       handler ^server-status$
mod_gzip_item_include       handler ^server-info$
mod_gzip_item_exclude       file \.css$
mod_gzip_item_exclude       file \.js$
mod_gzip_item_exclude       mime ^image/.*
</IfModule>

   AddType application/x-httpd-php .php
    AddType application/x-httpd-php .phtml
    AddType application/x-httpd-php .php3
    AddType application/x-httpd-php-source .phps
Mersi
Hristo
_____________________________________________
GALAXITE Bulgaria Portal Services
http://www.galaxite.net
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.