Current time: 04-21-2024, 12:05 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] Cache control with htaccess
Author Message
redsector Offline
Newbie
*

Posts: 5
Joined: Jan 2008
Reputation: 0
Post: #1
[SOLVED] Cache control with htaccess
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?
(This post was last modified: 05-07-2008 04:27 PM by BeNe.)
05-04-2008 09:09 PM
Find all posts by this user Quote this message in a reply
redsector Offline
Newbie
*

Posts: 5
Joined: Jan 2008
Reputation: 0
Post: #2
RE: Cache control with htaccess
I found myself Smile
There is to move some modules from dir availavle to dir enabled.
05-06-2008 03:12 PM
Find all posts by this user Quote this message in a reply
rudi1977 Offline
Junior Member
*

Posts: 58
Joined: May 2008
Reputation: 0
Post: #3
RE: Cache control with htaccess
Better : a2enmod [modul-name]
or make a logical Link
05-07-2008 04:25 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)