Discussion in 'Install/Configuration' started by furimedia, Sep 17, 2008.
How do I get mod_expires working with Litespeed?
It should work.
Just that you may need to define the MIME type in the server level MIME configuratin.
I'm sorry but could you care to explain a bit?
I'm just trying to cache all the images/js/css files using this expires module.
You can set expires configuration from LSWS web console.
The expires setting is associated with MIME type configuration, just like "GZIP" settings, so the MIME type must exist globally.
Can I have this in my .htaccess?
ExpiresDefault "access plus 1 year"
Will litespeed pick that up?
Also, if my js and css file path look like for instance:
Will that be picked up by litespeed's default mime configuration?
The expires header is only effective for static file, not for dynamically generated content, you need to add those headers in your PHP script.
Separate names with a comma.