HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   mod_gzip (http://www.howtoforge.com/forums/showthread.php?t=15)

alex 21st April 2005 11:23

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... :confused:

Alex

falko 21st April 2005 11:57

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.

alex 21st April 2005 17:08

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?). :(

falko 22nd April 2005 11:38

Well, you have to create it manually... :D

alex 22nd April 2005 12:36

Ok... :o :rolleyes:


All times are GMT +2. The time now is 00:25.

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