On Sat, Mar 29, 2014 at 12:12 PM, Adie Nurahmadie wrote:
On Sat, Mar 29, 2014 at 11:50 PM, Doc < icantthinkof...@charter.net
wrote:
On my site, music can be played by going to
http://mysite.com/music/billyjoel/song.mp3
<http://mysite.com/music/billyjoel/song.mp3> (for exam
On my site, music can be played by going to
http://mysite.com/music/billyjoel/song.mp3 (for example).
You can download the same song by going to
http://mysite.com/music/billyjoel/download/song.mp3.
The path including "download" is aliased and the default mime type
changed as shown here:
lo
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'
On Mon, Mar 24, 2014 at 8:13 AM, Francis Daly wrote:
On Sun, Mar 23, 2014 at 12:03:25PM -0400, Doc wrote:
Hi there,
This might be more of a regex problem on my part than nginx.
Yes, it is.
I do a rewrite to pass the full pathname to thttpd like this:
location ~ /radio/download
This might be more of a regex problem on my part than nginx. I do a
rewrite to pass the full pathname to thttpd like this:
location ~ /radio/download/.*\.mp3$ {
rewrite ^ /test/$1;
}
location /test {
proxy_pass http://127.0.0.1:8000;
}
However the pathname received by thttpd is /test
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