Hi,
I'm new to litespeed. I'm trying to set the expires header without success.
From my tests it seems that setting an expire header in htaccess doesn't work.
I have enabled expires setting on server level and also on virtual host, however the htaccess does not take effect and no expires header is sent.
There is any step that I should follow to make it works?
I mean, I should install mod_expires or is it built inside litespeed?
You can check on default page
that no expires is sent.
Here's my htaccess:
I'm new to litespeed. I'm trying to set the expires header without success.
From my tests it seems that setting an expire header in htaccess doesn't work.
I have enabled expires setting on server level and also on virtual host, however the htaccess does not take effect and no expires header is sent.
There is any step that I should follow to make it works?
I mean, I should install mod_expires or is it built inside litespeed?
You can check on default page
Code:
http://178.62.221.90/
Here's my htaccess:
Code:
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 1 month"
ExpiresByType text/html "access plus 1 day"
ExpiresByType text/css "access plus 1 day"
</IfModule>
Last edited by a moderator: