Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

mod_ext_filter and gunzip query

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


tyagi.atul at gmail

Jan 18, 2007, 7:51 AM

Post #1 of 1 (378 views)
Permalink
mod_ext_filter and gunzip query

Hi,

I have issues with my disk usage on my webservers so I have a plan in mind.
Just wanted to know if I am on right track. I would like to gzip my contents
and use mod_ext_filter with gunzip. The deliverable I am looking at is, all
the contents are zipped and when contents move out of apache (
SetOutputFilter ) they are gunzipped and sent to the client. Hope the below
code will work.

I am using apache 2.0.52

# mod_ext_filter directive to define the external filter
ExtFilterDefine gzip mode=output cmd=/bin/gunzip

<Location /gunzipped>
# core directive to cause the gunzip filter to be
# run on output
SetOutputFilter gunzip

# mod_header directive to add
# "Content-Encoding: gzip" header field
Header set Content-Encoding gunzip
</Location>

Please let me know if I am on the right track.

Thanks,
Atul

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.