Need to know how to check mod_gzip working

Discussion in 'Hardware' started by samserver, Feb 7, 2005.

  1. samserver

    samserver Private E-2

    Thanks in advance for any help.
    I have had a very simple server setup for bout 2 years .
    would like to save some bandwidth as my server is home based and my isp is
    shutting it down when I reach my limet.
    have added the following to my conf file
    but I am not sure it is right (I get no errors).
    ther is no mod_gzip.c file that I can find
    or gzip.so file so I loaded the mod_gzip.dll file
    I found the binery file mod_gzip.c and saved that?
    server loads fast but now images load slower? Thanks for any help
    on server boot
    [Sun Feb 06 12:56:10 2005] [notice] jrApache[init] JRun 4.0 (Build 81731) Apache
    module - Jul 22 2004 11:53:59
    Apache/1.3.27 (Win32) JRun/4.0 mod_gzip/1.3.26.1a running...
    here is the added files in httpd.conf
    LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    #LoadModule usertrack_module modules/mod_usertrack.so
    #LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule gzip_module modules/ApacheModuleGzip.dll

    AddModule mod_expires.c
    AddModule mod_headers.c
    #AddModule mod_usertrack.c
    #AddModule mod_unique_id.c
    AddModule mod_so.c
    AddModule mod_setenvif.c

    AddModule mod_gzip.c

    ExpiresActive On
    <IfModule mod_expires.c>
    ExpiresByType txt/html M604800
    ExpiresByType image/gif A2592000
    </IfModule>
    # [ mod_gzip configuration ]

    <IfModule mod_gzip.c>
    mod_gzip_on yes
    mod_gzip_dechunk yes
    mod_gzip_keep_workfiles No
    mod_gzip_temp_dir c:\temp
    mod_gzip_minimum_file_size 200
    mod_gzip_maximum_file_size 0
    mod_gzip_maximum_inmem_size 1000000
    mod_gzip_item_include file \.gif$
    mod_gzip_item_include file \.jpg$
    mod_gzip_item_include file \.htm$
    mod_gzip_item_include file \.html$
    mod_gzip_item_include file \.cgi$
    mod_gzip_item_include mime text/.*
    mod_gzip_item_include file \.php$
    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_include handler "jakarta-servlet"
    mod_gzip_item_include mime "jakarta-servlet"
    mod_gzip_item_include file \.php$
    mod_gzip_item_exclude file "\.css$"
    mod_gzip_item_exclude file "\.js$"
    mod_gzip_item_exclude file "\.wml$"
    mod_gzip_item_exclude reqheader "User-Agent: .*Opera.*"
    </IfModule>
    my web site
     
  2. samserver

    samserver Private E-2

    I think I got it,now to figure out log files?
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds