[Mod_gzip] wamp - php-files are blank
mario aeby
mod_gzip@lists.over.net
Wed, 16 Oct 2002 02:46:07 +0200
hi,
i made several posts earlier this evening, the problem mentioned seems
to be solved. but unfortunately, there's another one rising :(
first, here's the url to my local-development-server:
http://mad4you.homeip.net/
i disabled files with the extension .php from the
mod_gzip-configuration:
mod_gzip_item_include file "\.(htm|html)$"
#mod_gzip_item_include mime ^application/x-httpd-php
since there seems an error: requesting an (gzipped) html-page works
perfectly well, but all my browsers stay blank when receiving a
(gzipped) .php-file.
i changed the config to gzip files with the extension .php4 to
illustrate the problem:
mod_gzip_item_include file "\.(htm|html|php4)$"
#mod_gzip_item_include mime ^application/x-httpd-php
i used the tool on
http://leknor.com/code/gziped.php
to check the following urls for working mod_gzip. try it for yourself,
here are the sample-files:
[1] http://mad4you.homeip.net/index.php
[2] http://mad4you.homeip.net/index.php4
[3] http://mad4you.homeip.net/mod_gzip_test.html
[1] works because mod_gzip is disabled for that extension, [2] doesn't
work (blank page, but it seems to be sent gzipped, somehow), [3] works
without problems, transfer is gzipped.
possible clue (starting point): seems that the php-files returned from
the php_module don't have any content? since there's no content,
mod_gzip can't compress anything. any solutions?
thanx!
grüsse
mario
--
mario aeby, eMeidi.com
http://www.eMeidi.com