[Mod_gzip] Serving precompressed static files *without* mod_gzip?

Nigel Hamilton mod_gzip@lists.over.net
Thu, 8 May 2003 01:24:37 -0500 (CDT)


Hi,

	I'm trying to set up Apache 1.3 so it can serve 
precompressed static files (e.g., index.html.gz) that will transparently 
decompress and display at the client, when the client requests index.html. 

	I'm doing this to avoid the latency of gzipping the content on the
fly (albeit relatively small) for otherwise static content.

	I know this can be done with mod_gzip but I'm sure there must be a 
really simple way to do this with vanilla Apache 1.3 by using multiviews?

	I've tried something like this in httpd.conf:

	Options ExecCGI MultiViews
	AddEncoding gzip .gz

	... but when the file arrives at the client (IE 5.0+) the 
'Save As' dialog pops up.

	Any ideas?


Kind Regards,


NIge


-- 
Nigel Hamilton
Turbo10 Metasearch Engine

email:	nigel@turbo10.com
tel:	+44 (0) 207 987 5460
fax:	+44 (0) 207 987 5468
________________________________________________________________________________
http://turbo10.com		Search Deeper. Browse Faster.