also @ TechSpot: Microsoft's Indian online store hacked, passwords and user data exposed
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > Windows OS

Download Now:

Need advice adding modules in apache server (post here?)

Thread Tools Search this Thread
  #1  
Old 02-07-2005
Samstoned's Avatar
TechSpot Paladin
 
Location: the pitts
Member since: May 2004, 2,582 posts
System specs
Need advice adding modules in apache server (post here?)

my web page
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 limit.
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 source file mod_gzip.c and saved that?
server loads about the same. but now images load slower? Thanks for any help
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$"
</IfModule>
Closed Thread

Similar Topics
Topic Replies Forum
Apache server HTTP 403 error 8 Virus and Malware Removal
apache server code help asking the tuff ??? 2 Software Apps
apache server 1 Storage and Networking
Apache Server: Advice? 2 Storage and Networking
Need help with a apache server(With PHP) 1 Software Apps

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 08:14 AM.