httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] Re: IfModule mod_expires.so
Date Tue, 07 Jun 2011 01:49:10 GMT
Looks like you still don't understand what the problem is. Replace the
<IfModule
mod_expires.so> line with <IfModule mod_expires.c> or
<IfModule expires_module>

Removing ifModule statement will work of course since the one you have is
wrong.

Igor

On Tue, Jun 7, 2011 at 10:33 AM, DW <xfsgpr@hotmail.com> wrote:

> 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