PDA

View Full Version : mod_expire?


xinn
03-11-2006, 03:03 AM
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

mistwang
03-11-2006, 07:53 AM
http://www.litespeedtech.com/docs/Context_Help.html#expiresByType

Example: image/*=M300

xinn
03-12-2006, 09:54 AM
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

mistwang
03-12-2006, 01:40 PM
Just define a context mapping to that directory and set expires there.