mod_gzip in two strings

Good day dear Helicon Ape users!

I’m going to show easy way how to enable mod_gzip. Upcoming articles should give you more extended information, but now lets start from a little.

Here is our goal: to enable mod_gzip for text based content ONLY. To simplify I will accept text files if their MIME starts with ‘text/’

Please run Helicon Ape Manager (Start –> All programs –> Helicon –> Manager)

Select ‘IIS Web Sites’ to edit the server configuration. The editor for httpd.conf file is opened. Now please uncomment this line:

LoadModule gzip_module modules/mod_gzip.so

This action points to Ape that mod_gzip module should be loaded. Then please select your site (I selected ‘Default Web Site’). The editor for the root .htaccess file is opened. Now please write these strings:


mod_gzip_on yes
mod_gzip_item_include mime ^text/.*$

Save the file and THAT’S ALL! ;-) To test whether mod_gzip is enabled and working well I used WFetch tool from Microsoft IIS Resources. Here is WFetch output: WFetch output

0 comments: