migrate from lighthttp: mod_secdownload and mod_magnet

kf nginx-forum at nginx.us
Tue May 25 18:24:44 MSD 2010


Hi, 

I am looking for a replacement for lighthttp and am considering nginx.

For a successfull migration I will need replacements for:
  1) Lighthttps mod_secdownload. -does anyone know of an nginx replacement that will provide links with a built in expire time?
  
  2) I also need to dynamically manipulate the Content-Disposition header as follows: a HTTP-GET to "http://<host>/file.mp3?filename=newfilename.mp3" will return the http://<host>/file.mp3 with the "Content-Disposition" header set to "attachment; filename=newfilename.mp3". -in lighthttp I use a mod_magnet script, any thoughts on how best to acheive this effect in nginx?
  
/thanks

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,90037,90037#msg-90037




More information about the nginx mailing list