View Single Post
  #1  
Old 14th January 2013, 20:23
pawan pawan is offline
Senior Member
 
Join Date: Jul 2010
Posts: 209
Thanks: 42
Thanked 5 Times in 5 Posts
Default setting apache directive in directive snippet

How can I set this directive in directive snippet:

Code:
# 480 weeks
<filesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Cache-Control "max-age=290304000, public"
</filesMatch>
When I am inserting above directive, it is being stripped and is shown like this

Code:
# 480 weeks

Header set Cache-Control "max-age=290304000, public"
Reply With Quote
Sponsored Links