Page 1 of 1

Make date dynamic in header expiry attribute of htaccess?

Posted: Thu Jul 14, 2011 3:07 am
by eshban
Hi,

I am using the following code in my htaccess to "Expire Headers"

[ICODE]
<FilesMatch "\.(ico|jgz|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Expires "Thu, 21 July 2011 20:00:00 GMT"
</FilesMatch>
[/ICODE]

Currently, i have set the date as static. Is there anyway in htaccess to make this date dynamic.

Thanks