httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DW <xfs...@hotmail.com>
Subject [users@httpd] Re: IfModule mod_expires.so
Date Tue, 07 Jun 2011 00:33:03 GMT
Tom Evans wrote:
> On Mon, Jun 6, 2011 at 1:52 AM, DW <xfsgpr@hotmail.com> wrote:
>>
> 
> <IfModule> is looking for a module file name or module name. In this
> case, it would be either 'mod_expires.c' or 'expires_module'.
> 
> 

It is enabled in my config file.  I have already tried to do something
like this but it is still not working:

<IfModule mod_expires.so>
    ExpiresActive On
    ExpiresByType text/html "access plus 60 minutes"
    ExpiresByType text/css "access plus 60 minutes"
    ExpiresByType application/x-javascript "access plus 60 minutes"
    ExpiresByType image/bmp "access plus 60 minutes"
    ExpiresByType image/gif "access plus 60 minutes"
    ExpiresByType image/x-icon "access plus 60 minutes"
    ExpiresByType image/jpeg "access plus 60 minutes"
</IfModule>

My next test is to remove <ifModule> completely to see if it works.
Perhaps the testing of the module is crippling the server.




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message