Serving html.gz files with Apache

I have several html.gz files I want to serve on the Internet. They are stored on the disk compressed like this to conserve disk space (which is the main issue here, network bandwidth is not).

How can I serve these to web browsers that support gzip decompession? I have:

AddEncoding x-gzip gz

but when I try to view the file at http://example.com/file.html.gz, my browser prompts me to download it rather than view it. The server does not have mod_gzip (nor mod_gunzip whose purpose is to solve my problem), nor can they be installed. I'm using Apache 2.

 

 

 

 

Top