"Oliver Spiesshofer" <oliver RemoveThis @email.com> schreef in bericht
news:Xns95E4AC69417A9oliveremailcom@63.223.5.251...
> I am running apache 2.0.50 on a windows XP machine.
> I would like to enable mod_deflate for a php-driven website.
Keep your php scripts from zipping their outpur for you ...
> I have a
> SetOutputFilter DEFLATE
As some (brand and versions of ) browsers fail on images, PDFfiles or
archives, if those are transfered zipped, rather use
AddOutputFilterByType DEFLATE text/plain text/html text/css
-add xml mime-types if you need them-
Now, your php scripts have to set the proper mime-type header to get DEFLATE
going.
> I am using AwStats as a logfile analyzer, and it has a section to show
> compression ratio of files, but the fields for that stay empty, so I
assume
> that something is not working right
Have the compression ratio logged
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/mod_deflate.html#deflatefilternote" target="_blank">http://httpd.apache.org/docs-2.0/mod/mod_deflate.html#deflatefilternote</a>
HansH<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: mod_deflate working or not?