On Fri, 23 Apr 2004, Peter Stoehr wrote:
> Hi list,
>
> I want to change from Apache 1.3 -> 2.0. With the 1.3 I also use mod_gzip, but there
is no roadmap, when it would be available for Apache 2.0.
>
> So I have taken a look to the mod_deflate documentation. I've notified, that in my mod_gzip
config, these options are included:
>
> mod_gzip_static_suffix .gz
> mod_gzip_update_static No <-- or Yes
>
> So I can use precompressed files (.html.gz). So there is no need for
> compressing the unchanged static html file on-the-fly every time.
>
> Does this also work with mod_deflate? If yes, what are the correct
> options? I don't find any hint in the documentation.
mod_deflate doesn't support this directly, but you can do it with regular
apache negotiation. For example, if you have
AddEncoding gzip gz
Options +Multiviews
and then you have two files
file.html.gz and file.html.html
(where the second one is uncompressed)
Then a request for file.html should get either the compressed or
uncompressed one based on the capabilities of the browser (according to
Accept-Encoding).
I've haven't tried this lately, but it should work.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
|