CVS update: php3/doc/chapters
| From: | cschneid | Date: | Sun, 25 Oct 1998 21:34:52 +0000 |
| Subject: | CVS update: php3/doc/chapters | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2010@lists.php.net to get a copy of this message | ||
Date: Sunday October 25, 1998 @ 16:34
Author: cschneid
Update of /repository/php3/doc/chapters
In directory asf:/u2/tmp/cvs-serv16428/doc/chapters
Modified Files:
config.sgml
Log Message:
Added zlib compression to output functions of Apache module. This means
(currently for Apache module only) PHP supports the HTTP header line
Accept-encoding: *gzip* and sends Content-encoding: gzip as well as
compressing the output. Added the configuration flag compress_output [on|off]
which can be set for the Apache module on a per directory basis.
Index: php3/doc/chapters/config.sgml
diff -c php3/doc/chapters/config.sgml:1.34 php3/doc/chapters/config.sgml:1.35
*** php3/doc/chapters/config.sgml:1.34 Wed Oct 14 08:23:40 1998
--- php3/doc/chapters/config.sgml Sun Oct 25 16:34:51 1998
***************
*** 116,121 ****
--- 116,146 ----
</listitem>
</varlistentry>
+ <varlistentry id="ini.compress-output">
+ <term>
+ <parameter>compress_output</parameter>
+ <type>boolean</type>
+ </term>
+ <listitem>
+ <para>
+ This directive is (currently) only useful in the Apache
+ module version of PHP. It is used to enable compression of
+ all output if the browser can handle it. By putting
+ <userinput>php3_compress_output off</userinput> in the
+ appropriate places in the <filename>httpd.conf</filename> or
+ <filename>.htaccess</filename> file, PHP can be enabled or
+ disabled. Technically speaking if the browser sent a header
+ line <literal>Accept-encoding</literal> containing
+ <literal>gzip</literal> and compress_output was enabled for
+ this directory then the complete script output is compressed
+ and a <literal>Content-encoding: gzip</literal> header is
+ sent to state this. Modern browsers then decompress the data
+ transparently while compatibility with old browsers not
+ supporting content encoding is ensured.
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="ini.error-log">
<term>
<parameter>error_log</parameter>
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net