Re: Full pathname not sent

2014-03-24 Thread Doc
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/.*\.mp3

Re: Full pathname not sent

2014-03-24 Thread Francis Daly
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/.*\.mp3$ { > rewrite ^ /test/$1; > } What value do yo

Full pathname not sent

2014-03-23 Thread Doc
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