Home Dedicated Servers Specials Offers Streaming Host Managed Services Customer Login
 
     
     
 
Configuring Apache to use mod_expires - Help Desk
 Configuring Apache to use mod_expires
Article

mod_expires it will caches the page content to the visitors temporary files it may reduce on your Server from High Bandwidth Usage & also the files transferring load

the following is code where you can put into your .htaccess if you we Web Host Customer
or if you are a Server Administrator and want to apply the Mod_expires to all hosts please copy & paste the following to /usr/local/apache/conf/httpd.conf


# turn on the module for this directory
ExpiresActive on

# cache common graphics for 7 days
ExpiresByType image/jpg "access plus 7 days"
ExpiresByType image/gif "access plus 7 days"
ExpiresByType image/jpeg "access plus 7 days"
ExpiresByType image/png "access plus 7 days"



if you want to verify that you have mod_expries installed run from your ssh as root the following

httpd -l


Article Details
Article ID: 25
Created On: 12 Sep 2009 11:47 PM

 This article was helpful  This article was not helpful

 Back

Language:


Quick Navigation

Client Login

Email

Password

Remember Me

Search


 
Terms of service Acceptable Use Policy © Copyright 2005-2009 HyperOIS. All Rights Reserved.
HyperOIS is registered trademarks of HyperOIS Online Internet Services LLC, Commercial Registration Egypt 32060