1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to enable gzip

Discussion in 'Apache' started by bananix, Sep 1, 2005.

  1. #1
    I've read this
    http://httpd.apache.org/docs/2.0/mod/mod_deflate.html
    And added the first simple example to my httpd.conf is that one line enough?

    I tried few online sites that had gzip testers but they didn't work.

    I also tried this
    wget --server-response --header="HTTP_ACCEPT_ENCODING: gzip, deflate" myserver.com/index.html

    But couldn't tell the difference in the results. Or perhaps testing that way doesn't work.

    I'm running this version
    apache_2.0.54-win32-x86-no_ssl.msi

    I'm currently in #apache IRC channel at freenode with 190 users but haven't yet been able to get help =)
     
    bananix, Sep 1, 2005 IP
  2. bananix

    bananix Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I got it working already

    I added these lines to get some stuff to work
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule logio_module modules/mod_logio.so
    LoadModule headers_module modules/mod_headers.so

    also i corrected the wget header HTTP_ACCEPT_ENCODING to Accept-Encoding
     
    bananix, Sep 1, 2005 IP
  3. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Good thing! and good luck, and its good that you have compiled your apache to an so ;)
     
    theblight, Apr 29, 2006 IP