Re: lug-bg: mod_gzip Apache?
- Subject: Re: lug-bg: mod_gzip Apache?
- From: hristo@xxxxxxxxxxxx (Hristo Nazarov)
- Date: Mon, 22 Jul 2002 12:35:02 +0300
Mersi,
Iskam da polzwam mod_gzip...
I moia config za mod_gzip e sashtia...Problemat e che kompresira *.php a
*.php?alabala=psho ne shte
Mislia che problemat e tuka
> mod_gzip_item_include file \.php$
probwah i taka:
> mod_gzip_item_include file \.php(.*)
Ako nikoj Znae/moze da pomogne da dade malko akal..
Blagodaria na wsichki
Chao
Hristo
----- Original Message -----
From: Peter Kirkov <P.Kirkov@xxxxxxxxxxx>
To: <lug-bg@xxxxxxxxxxxxxxxxxx>
Sent: Monday, July 22, 2002 11:28 AM
Subject: Re: lug-bg: mod_gzip Apache?
> Moje i da burkam...
> Ot address - http://www.php.net/manual/en/ref.zlib.php
> citat ot parvia dobaven comentar:
> <citat>
> An alternate way to handle gzip compression is to let the mod_gzip module
> of apache handle it. This seems to contradict the tutorial on
> phpbuilder.com saying that it won't compress php (or any dynamic) output,
> but mod_gzip as of version 1.3.17.1a works well for me.
>
> Here is an example of an httpd.conf setup:
>
> <IfModule mod_gzip.c>
> mod_gzip_on Yes
> mod_gzip_dechunk Yes
> mod_gzip_minimum_file_size 300
> mod_gzip_maximum_file_size 0
> mod_gzip_maximum_inmem_size 100000
> mod_gzip_keep_workfiles No
> mod_gzip_temp_dir /tmp
> mod_gzip_item_include file \.html$
> 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 mime ^image/.*
> </IfModule>
>
> This will automatically compress all output of your files with the .php
> extention or the x-httpd-php mime type. Be sure to have dechunk set to
> Yes.
> </citat>
>
> Drugia variant e da izpolzvash funkciite za output buffering v samia
script.
> Eto link i za tova:
> http://www.phpbuilder.com/columns/argerich20010125.php3
>
> Pozdravi
> Pesho
>
> Hristo Nazarov wrote:
>
> >Ne sam mnogo siguren....
> >http://www.remotecommunications.com/apache/mod_gzip/
> >Linux and Win32 pre-compiled binaries are already available as well the
> >complete source code. All PHP dynamic output should be fully compressed
and
> >as well as most every other kind of CGI including, but not limited to,
> >ColdFusion, Perl, Zope, WebLogic, IBM's WebSphere Server Output, EXE,
> >compiled 'C', mod_perl, mod_php, etc.
> >
> >I weche kompresira *.php, obache ne moga da go podkaram s
> >*.php?alabala=pesho
> >Mislia che problema e tuka
> >mod_gzip_item_include file \.php$
> >Probwah kak li ne ama ne shte
> >Idei?
> >Idei?
> >
>
>
>
============================================================================
> 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
>
============================================================================
>
============================================================================
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
============================================================================
|