#1  
Old 21st April 2005, 11:23
alex alex is offline
Junior Member
 
Join Date: Apr 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default mod_gzip

I've just read the mod_gzip tutorial (http://www.howtoforge.com/linux_apache_mod_gzip) and installed mod_gzip on my server. My Apache is running fine, but how do I see if mod_gzip is working and how much it compresses the documents it delivers? In the Apache access log I don't see anything related to mod_gzip...

Alex
Reply With Quote
Sponsored Links
  #2  
Old 21st April 2005, 11:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Try to add mod_gzip logging to your Apache:

Code:
LogFormat                     "%h %l %u %t \"%V %r\" %<s %b mod_gzip: %{mod_gzip_result}n In:%{mod_gzip_input_size}n -< Out:%{mod_gzip_output_size}n = %{mod_gzip_compression_ratio}n pct." common_with_mod_gzip_info2
CustomLog                     /path/to/mod_gzip.log common_with_mod_gzip_info2
The log file tells you about the success, status codes (you can look up their meanings here: http://www.howtoforge.com/linux_apache_mod_gzip_7), compression ratios, etc.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 21st April 2005, 17:08
alex alex is offline
Junior Member
 
Join Date: Apr 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I can't find mod_gzip.log (or do I have to create the file manually somewhere and use that file in the CustomLog line?).

Last edited by alex; 22nd April 2005 at 10:54.
Reply With Quote
  #4  
Old 22nd April 2005, 11:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Well, you have to create it manually...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 22nd April 2005, 12:36
alex alex is offline
Junior Member
 
Join Date: Apr 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 19:05.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.