PDA

View Full Version : mod_expires Apache module and .htaccess


Dee`Mon
8-21-02, 09:27 AM
Hi,

Could anyone help me out with this one please:

According to the powweb FAQ (http://www.powweb.com/faqs/?category=Apache&faq_id=272) the webserver has mod_expires module installed, but when I try to use the its commands in .htaccess for caching images the server gives me "500 Internal Error". The commands are as follow:


ExpiresActive on
ExpiresByType image/jpeg "access plus 6 months"
ExpiresByType image/gif "access plus 2 months"
ExpiresDefault "access plus 1 hour"

What am I doing wrong, or does the webserver really have this module installed?

Thanks,
Dmitry