mod_gzip help!

Discussion in 'Apache' started by greendesert, Mar 19, 2006.

  1. #1
    Hi,

    I have studied the mod_gzip, but i don't know how to configure it on apache. If any one knows about this with a short example, i will be very thankful to him.

    Thanks.
     
    greendesert, Mar 19, 2006 IP
  2. Will.Spencer

    Will.Spencer NetBuilder

    Messages:
    14,789
    Likes Received:
    1,040
    Best Answers:
    0
    Trophy Points:
    375
    #2
    I'm confused. Do you need to do more than this?

    # AddType allows you to add to or override the MIME configuration
    # file mime.types for specific file types.
    #
    AddType application/x-tar .tgz
    
    #
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    # Despite the name similarity, the following Add* directives have nothing
    # to do with the FancyIndexing customization directives above.
    #
    AddEncoding x-compress .Z
    AddEncoding x-gzip .gz .tgz
    
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    #
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    Code (markup):
     
    Will.Spencer, Mar 19, 2006 IP