[Mod_gzip] mod_gzip and mod_bandwidth.
Netforum.com.br - Gallery e-cards
mod_gzip@lists.over.net
Thu, 14 Aug 2003 17:17:10 -0300
If your PHP pages are displayed correctly when the module isn't activated
but are sent in plain text when you try to use mod_bandwidth, that's
probably because mod_bandwidth is called before the PHP module.
For correct results, it is important that there isn't any "dead" links in
the "link" directory of mod_bandwidth when you start the server.
It may be a good idee to run the "cleanlink.pl" script we provide to
automaticaly remove dead links
Mike
> >
>
> Hi.
>
> I usually load gzip before bandwidth with LoadModule. I dont use
> AddModule. I've tried AddModule but configtest in Apache says that that
> module was already loaded.
>
> Your config for bandwidth used in httpd.conf works just as in the
> .htaccess without the <Directory> directive, (except the Bandwidth limit
> that produces an error) but I cannot mix it with the mod_gzip in the
> same directory.
>
> I attach my config of mod_gzip, maybe it is not well configured.
>
>
> <IfModule mod_gzip.c>
> mod_gzip_on yes
> mod_gzip_dechunk yes
> mod_gzip_can_negotiate yes
> mod_gzip_keep_workfiles No
> mod_gzip_temp_dir /tmp
> mod_gzip_minimum_file_size 500
> mod_gzip_maximum_file_size 10000000
> mod_gzip_maximum_inmem_size 10000000
> mod_gzip_item_include file \.*$
> mod_gzip_item_include uri \.*$
> mod_gzip_item_include file \.htm$
> mod_gzip_item_include file \.html$
> 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 mime ^.*/.*$
> mod_gzip_item_exclude file "\.css$"
> mod_gzip_item_exclude file "\.js$"
> mod_gzip_item_exclude file "\.wml$"
> mod_gzip_item_exclude reqheader "User-Agent: .*Mozilla/4\..*\["
> # mod_gzip_item_exclude mime ^image/.gif
>
> </IfModule>
>
>
> As you can see, it is basically the sample config but I have added some
> lines to allow compression of all kind of mime-types and filenames. I
> have a slow connection and I prefer to compress everything. This config
> works fine, but without the module bandwidth.
>
> Thanks to all for you efforts.
> _______________________________________________
> mod_gzip mailing list
> mod_gzip@lists.over.net
> http://lists.over.net/mailman/listinfo/mod_gzip