mod_gzip

Discussion in 'HOWTO-Related Questions' started by alex, Apr 21, 2005.

  1. alex

    alex New Member

    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
     
  2. falko

    falko Super Moderator ISPConfig Developer

    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.
     
  3. alex

    alex New Member

    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: Apr 22, 2005
  4. falko

    falko Super Moderator ISPConfig Developer

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

    alex New Member

    Ok... :eek: :rolleyes:
     

Share This Page