X xinn Member Mar 11, 2006 #1 Mar 11, 2006 #1 Is there something like mod_expire in LSWS? I have a folder with dynamic images ( for example images/cron ).. They changes every 3-5minutes and now i need to set up `expire` for these files to 5 minutes. How can i do that with LSWS? Best Regards
Is there something like mod_expire in LSWS? I have a folder with dynamic images ( for example images/cron ).. They changes every 3-5minutes and now i need to set up `expire` for these files to 5 minutes. How can i do that with LSWS? Best Regards
M mistwang LiteSpeed Staff Mar 11, 2006 #2 Mar 11, 2006 #2 http://www.litespeedtech.com/docs/Context_Help.html#expiresByType Example: image/*=M300
X xinn Member Mar 12, 2006 #3 Mar 12, 2006 #3 Hello, Is this possible to set-up expire on specyfic directory? If yes, how can i do that? I dont want this rule to affect whole VHost Best Regards
Hello, Is this possible to set-up expire on specyfic directory? If yes, how can i do that? I dont want this rule to affect whole VHost Best Regards
M mistwang LiteSpeed Staff Mar 12, 2006 #4 Mar 12, 2006 #4 Just define a context mapping to that directory and set expires there.