mod_expires problem

I used mod_expires like this in httpd.conf :

ExpiresActive On

ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"

So, it is very clear, I just set the expiration only for .gif and .jpeg.

But why I got this error in the log file :

[Thu Nov 13 00:46:59 2003] [error] [client 10.0.0.88] internal error: bad expires code: /home/www/example.com/html/index.html
[Thu Nov 13 00:46:59 2003] [error] [client 10.0.0.88] internal error: bad expires code: /home/www/example.com/html/showcase/dummy.swf
[Thu Nov 13 00:46:59 2003] [error] [client 10.0.0.88] internal error: bad expires code: /home/www/example.com/html/showcase/intro.swf

This problem happen after I used source version of apache 2.0.48. I compiled mod_expires as static module.

This was not happen in 2.0.40 rpm version.

Anyone know why?

 

 

 

 

Top