syntax for Header set Expires

Posted by Umair on Stack Overflow See other posts from Stack Overflow or by Umair
Published on 2010-04-24T08:21:03Z Indexed on 2010/04/24 8:23 UTC
Read the original article Hit count: 275

Filed under:
|
|

Default syntax for Header set Expires is

Header set Expires "Wed, 21 May 2010 20:00:00 GMT"

and default syntax for ExpiresDefault is

ExpiresDefault A2592000
OR
ExpiresByType image/gif A60

I want to use such a syntax for Header set Expires, that is I want to pass an expires time in seconds after access. how can i do this ?

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about expires