LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > mod_expire?

Reply
 
Thread Tools Display Modes
  #1  
Old 03-11-2006, 02:03 AM
xinn xinn is offline
Member
 
Join Date: Aug 2005
Posts: 21
Default mod_expire?

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
Reply With Quote
  #2  
Old 03-11-2006, 06:53 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
http://www.litespeedtech.com/docs/Co...#expiresByType

Example: image/*=M300
Reply With Quote
  #3  
Old 03-12-2006, 08:54 AM
xinn xinn is offline
Member
 
Join Date: Aug 2005
Posts: 21
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
Reply With Quote
  #4  
Old 03-12-2006, 12:40 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Just define a context mapping to that directory and set expires there.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:42 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.