ispCP - Board - Support
[SOLVED] Cache control with htaccess - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: [SOLVED] Cache control with htaccess (/thread-3204.html)



[SOLVED] Cache control with htaccess - redsector - 05-04-2008 09:09 PM

Hi all
Hi have found some site that tell how to speed up caching using the htaccess file for caching management.
I would like to set a future expire heater for some files like this:

<FilesMatch "\.(ico|gif|js|css)$">
Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT"
</FilesMatch>

But when I activate the .htaccess the server answer error 500.

Where is the problem?


RE: Cache control with htaccess - redsector - 05-06-2008 03:12 PM

I found myself Smile
There is to move some modules from dir availavle to dir enabled.


RE: Cache control with htaccess - rudi1977 - 05-07-2008 04:25 PM

Better : a2enmod [modul-name]
or make a logical Link