RSS Forums RSS
Please support our Windows Servers and IIS advertiser: Programming Forums

Save Bandwith! Set your servers to gzip now!

Join Date: Aug 2003
Location: Jersey - You gotta problem wit dat?
Posts: 364
Reputation: TheOgre is a jewel in the rough TheOgre is a jewel in the rough TheOgre is a jewel in the rough 
Rep Power: 8
Solved Threads: 5
TheOgre's Avatar
TheOgre TheOgre is offline Offline
Posting Whiz

Re: Save Bandwith! Set your servers to gzip now!

  #2  
Feb 7th, 2004
For Apache, in httpd.conf, look for this line:

AddEncoding x-gzip gz tgz

It's usually on by default, but if it isn't, you can add/uncomment it within <IfModule mod_mime.c> so it reads like this:

<IfModule mod_mime.c>

AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
If you don't have that module loaded (mod_mime.c) then it won't do you any good, so check the Modules section to ensire it's being loaded.
If you spend more on coffee than on IT security, you will be hacked.
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:58 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC