GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 14-Apr-2005, 21:20
brianstanfill brianstanfill is offline
New Member
 
Join Date: Apr 2005
Posts: 1
brianstanfill is on a distinguished road

Mod_gzip.so with Apache2 and Windows Server 2003


Here's to headbutting the server (cheers).

I'm working through an installation of mod_gzip.so for Apache2 running on Windows Server 2003.

With my current configuration, Apache successfully starts and recognizes itself as Apache/2.0.53 (Win32) PHP/5.0.4 mod_gzip/2.0.50.

However, when I run tests (leknor.com) on my site with many different file types... not a single file type returns as being compressed.

My only guess is that I have inadequately configured the Apache httpd.conf file for the mod_gzip module.

This is what is in my httpd.conf file for the mod_gzip module:

Code:
# For Mod_Gzip LoadModule gzip_module modules/mod_gzip.so # # Configuration for mod_gzip <IfModule mod_gzip.so> LogFormat "%h %l %u %t \"%r\" %>s %b mod_gzip: %{mod_gzip_result}n In:%{mod_gzip_input_size}n Out:%{mod_gzip_output_size}n Ratio:%{mod_gzip_compression_ratio}npct." common_with_mod_gzip_info2 CustomLog logs/gzip.log common_with_mod_gzip_info2 mod_gzip_on Yes mod_gzip_item_include file \.html$ mod_gzip_item_include file \.php$ mod_gzip_item_include file \.htm$ mod_gzip_item_include mime text/.* mod_gzip_item_exclude file error/.* mod_gzip_item_exclude mime ^image/.* mod_gzip_temp_dir "d:/Apache2/tmp" mod_gzip_command_version mod_gzip_version mod_gzip_dechunk yes # mod_gzip_keep_workfiles Yes </IfModule> # End of mod_gzip

Even after trying many differnt "sample" configurations from various websites, no files show as compressed.

As far as installing the mod in the first place, I used these steps (kwc.org).

The only change I had to make was in the "my_cfg.txt" configuration. Its <IfModule mod_gzip.c> was incorrect in that I am loading module mod_gzip.so.

Where should I start for correctly configuring mod_gzip to compress the content on my webserver? I expect to compress (htm, html, php, js, css).

Thanks!

Brian Stanfill
Palmer, Alaska
 
 

Recent GIDBlogMore photos on Flickr by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 won't read CSS on local server ListerMint Apache Web Server Forum 3 15-Jan-2005 05:10
Problem Runnig Perl under Apache2 in Windows 2000 Server mig2000 Apache Web Server Forum 2 25-Oct-2004 06:20
Help running Apache2 on windows XP gardolas Apache Web Server Forum 11 29-Jun-2004 14:49
Apache2 and Windows ME MaxH Apache Web Server Forum 4 23-Jun-2004 09:08

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 19:22.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.