Re: Pass path to thttpd for CGI

2014-03-24 Thread Doc
On Mon, Mar 24, 2014 at 8:28 AM, Francis Daly wrote: On Sat, Mar 22, 2014 at 05:18:19PM -0400, Doc wrote: Hi there, I can get /music/download to be handled by CGI in thttpd but I don't know how to handle the changing song titles cause everything I've tried fails. I don't see any nginx p

Re: Pass path to thttpd for CGI

2014-03-24 Thread Francis Daly
On Sat, Mar 22, 2014 at 05:18:19PM -0400, Doc wrote: Hi there, > I can get /music/download to be handled by CGI in > thttpd but I don't know how to handle the changing song titles cause > everything I've tried fails. I don't see any nginx problems here. Can you request the download of thttpd

Pass path to thttpd for CGI

2014-03-22 Thread Doc
I sort of have this working but not quite. I have http://mysite.com/music/play/song.mp3 and this plays fine in the browser by accessing the mp3 file in its folder. However, I want to handle requests to download the song at http://mysite.com/music/download/song.mp3 with a CGI script that has n