SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Dec 2001
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    mod_gzip not servicing domains

    Hello, i have mod_gzip installed, i really could not see any difference to my bandwidth.

    I checked gzip logs and found the entries below, i also added
    CustomLog /home/domain/logs/mod_gzip.log full_plus_gzip
    to domain with highist bandwidth, but it has recieved no entries>

    start gzip logs--- ip changed---

    127.0.0.1 - - [04/Feb/2002:16:17:21 +0000] "server.domain.net GET / HTTP/1.0" 200 2673 mod_gzip: DECLINED:UNHANDLED_SUBREQ In:0Ou$
    127.0.0.1 - - [04/Feb/2002:16:25:41 +0000] "server.domain.net GET / HTTP/1.0" 200 2673 mod_gzip: DECLINED:UNHANDLED_SUBREQ In:0Ou$
    127.0.0.1 - - [04/Feb/2002:16:34:05 +0000] "server.domain.net GET / HTTP/1.0" 200 2673 mod_gzip: DECLINED:UNHANDLED_SUBREQ In:0Ou$
    127.0.0.1 - - [04/Feb/2002:16:42:25 +0000] "server.domain.net GET / HTTP/1.0" 200 2673 mod_gzip: DECLINED:UNHANDLED_SUBREQ In:0Ou$
    127.0.0.1 - - [04/Feb/2002:16:50:45 +0000] "server.domain.net GET / HTTP/1.0" 200 2673 mod_gzip: DECLINED:UNHANDLED_SUBREQ In:0Ou$
    64.7.145.109 - - [04/Feb/2002:16:56:46 +0000] "server.domain.net "^A^C" 501 - mod_gzip: DECLINED:UNHANDLED_SUBREQ In:0Out:0:0pct.
    127.0.0.1 - - [04/Feb/2002:16:59:05 +0000] "server.domain.net GET / HTTP/1.0" 200 2673 mod_gzip: DECLINED:UNHANDLED_SUBREQ In:0Ou$
    127.0.0.1 - - [04/Feb/2002:17:07:26 +0000] "server.domain.net GET / HTTP/1.0" 200 2673 mod_gzip: DECLINED:UNHANDLED_SUBREQ In:0Ou$
    127.0.0.1 - - [04/Feb/2002:17:15:46 +0000] "server.domain.net GET / HTTP/1.0" 200 2673 mod_gzip: DECLINED:UNHANDLED_SUBREQ In:0Ou$
    250.177.21.10 - - [04/Feb/2002:17:16:36 +0000] "server.domain.net +^A^C" 501 - mod_gzip: DECLINED:UNHANDLED_SUBREQ In:0Out:0:0pc$
    127.0.0.1 - - [04/Feb/2002:17:24:06 +0000] "server.domain.net GET / HTTP/1.0" 200 2673 mod_gzip: DECLINED:UNHANDLED_SUBREQ In:0Ou$
    77.74.16.127 - - [04/Feb/2002:17:27:04 +0000] "server.domain.net GET /scripts/root.exe?/c+dir HTTP/1.0" 404 - mod_gzip: DECLINED:$
    77.74.16.127 - - [04/Feb/2002:17:27:05 +0000] "server.domain.net GET /MSADC/root.exe?/c+dir HTTP/1.0" 404 - mod_gzip: DECLINED:NO$
    77.74.16.127 - - [04/Feb/2002:17:27:05 +0000] "server.domain.net GET /c/winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 - mod_gzip: D$
    77.74.16.127 - - [04/Feb/2002:17:27:05 +0000] "server.domain.net GET /d/winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 - mod_gzip: D$
    77.74.16.127 - - [04/Feb/2002:17:27:05 +0000] "server.domain.net GET /scripts/..%255c../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 4$
    77.74.16.127 - - [04/Feb/2002:17:27:06 +0000] "server.domain.net GET /_vti_bin/..%255c../..%255c../..%255c../winnt/system32/cmd.e$
    77.74.16.127 - - [04/Feb/2002:17:27:06 +0000] "server.domain.net GET /_mem_bin/..%255c../..%255c../..%255c../winnt/system32/cmd.e$
    77.74.16.127 - - [04/Feb/2002:17:27:07 +0000] "server.domain.net GET /msadc/..%255c../..%255c../..%255c/..%c1%1c../..%c1%1c../..%$
    77.74.16.127 - - [04/Feb/2002:17:27:07 +0000] "server.domain.net GET /scripts/..%c1%1c../winnt/system32/cmd.exe?/c+dir HTTP/1.0" $
    77.74.16.127 - - [04/Feb/2002:17:27:08 +0000] "server.domain.net GET /scripts/..%c0%2f../winnt/system32/cmd.exe?/c+dir HTTP/1.0" $
    77.74.16.127 - - [04/Feb/2002:17:27:08 +0000] "server.domain.net GET /scripts/..%c0%af../winnt/system32/cmd.exe?/c+dir HTTP/1.0" $
    77.74.16.127 - - [04/Feb/2002:17:27:08 +0000] "server.domain.net GET /scripts/..%c1%9c../winnt/system32/cmd.exe?/c+dir HTTP/1.0" $
    77.74.16.127 - - [04/Feb/2002:17:27:12 +0000] "server.domain.net GET /scripts/..%%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0"$
    77.74.16.127 - - [04/Feb/2002:17:27:12 +0000] "server.domain.net GET /scripts/..%%35c../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 4$
    77.74.16.127 - - [04/Feb/2002:17:27:13 +0000] "server.domain.net GET /scripts/..%25%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.$
    77.74.16.127 - - [04/Feb/2002:17:27:13 +0000] "server.domain.net GET /scripts/..%252f../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 4$

  2. #2
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Location
    Derbyshire, UK
    Posts
    4,411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    It would be helpful if you posted your mod_gzip config for us to look over else no one can really help. I know this will sound daft, buy have you turned mod_gzip on?
    Karl Austin :: Profile :: KDA Web Services Ltd.
    Business Web Hosting :: Managed Dedicated Hosting
    Call 0800 542 9764 today and ask how we can help your business grow.

  3. #3
    SitePoint Enthusiast
    Join Date
    Jul 2001
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can find out if mod_gzip works on
    http://leknor.com/code/gziped.php

    Installation instructions are on
    http://4net.tv/marticle/get.php?acti...e&articleid=12

    Have you enabled mod_gzip in httpd.conf?

  4. #4
    SitePoint Zealot
    Join Date
    Dec 2001
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes i believe all this is working but see below to check, when i check with leknor it say mod_gzip is installed but site not gzipped.

    I get entries in gzip log, the problem can be seen in logs ref:

    mod_gzip: DECLINED:UNHANDLED_SUBREQ In:0Out:0:0pc$

    there are loads of these lines.

    thanks for help

    httpd.conf extracts
    -------start------
    # Note: The order in which modules are loaded is important. Don't change
    # the order below without expert advice.
    #
    # Example:
    # LoadModule foo_module libexec/mod_foo.so
    LoadModule rewrite_module libexec/mod_rewrite.so
    LoadModule bytes_log_module libexec/mod_log_bytes.so
    LoadModule php4_module libexec/libphp4.so
    LoadModule bwlimited_module libexec/mod_bwlimited.so
    LoadModule jk_module libexec/mod_jk.so
    LoadModule gzip_module libexec/mod_gzip.so


    # Reconstruction of the complete module list from all available modules
    # (static and shared ones) to achieve correct module execution order.
    # [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
    ClearModuleList
    AddModule mod_env.c
    AddModule mod_log_config.c
    AddModule mod_mime.c
    AddModule mod_negotiation.c
    AddModule mod_status.c
    AddModule mod_include.c
    AddModule mod_autoindex.c
    AddModule mod_dir.c
    AddModule mod_cgi.c
    AddModule mod_asis.c
    AddModule mod_imap.c
    AddModule mod_actions.c
    AddModule mod_userdir.c
    AddModule mod_alias.c
    AddModule mod_rewrite.c
    AddModule mod_access.c
    AddModule mod_auth.c
    AddModule mod_so.c
    AddModule mod_setenvif.c
    <IfDefine SSL>
    AddModule mod_ssl.c
    </IfDefine>
    AddModule mod_frontpage.c
    AddModule mod_log_bytes.c
    AddModule mod_php4.c
    AddModule mod_bwlimited.c
    AddModule mod_jk.c
    AddModule mod_gzip.c

    ---further on ---------
    <IfModule mod_gzip.c>
    mod_gzip_on yes
    mod_gzip_dechunk yes
    mod_gzip_keep_workfiles No
    mod_gzip_temp_dir /tmp
    mod_gzip_minimum_file_size 300
    mod_gzip_maximum_file_size 0
    mod_gzip_maximum_inmem_size 1000000

    mod_gzip_item_include file \.htm$
    mod_gzip_item_include file \.html$
    mod_gzip_item_include file \.shtml$
    mod_gzip_item_include file \.shtm$
    mod_gzip_item_include file \.jsp$
    mod_gzip_item_include file \.php$
    mod_gzip_item_include file \.php3$
    mod_gzip_item_include file \.pl$
    mod_gzip_item_include file \.cgi$
    mod_gzip_item_include mime text/.*
    mod_gzip_item_include mime "jserv-servlet"
    mod_gzip_item_include handler "jserv-servlet"
    mod_gzip_item_include mime "application/x-httpd-php.*"
    mod_gzip_item_include mime httpd/unix-directory

    mod_gzip_item_exclude file "\.css$"
    mod_gzip_item_exclude file "\.js$"
    mod_gzip_item_exclude file "\.wml$"
    mod_gzip_item_exclude file authorizationRequired.shtml
    mod_gzip_item_exclude file fileNotFound.shtml
    mod_gzip_item_exclude file internalServerError.shtml
    mod_gzip_item_exclude file forbidden.shtml

    </IfModule>


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •