Hello all
Does anyone know how to get gnump3d and apache2 running together?
I want apache2 to be a proxy for gnump3d, and have tried this:
Code:
ProxyPass /music http://127.0.0.1:8080
ProxyPassReverse /music http://127.0.0.1:8080
(8080 is the port that gnump3d listens on)
This works - almost. When you point at
http://server/music
you get the same as if you'd pointed at
http://server:8080
Problem is something in gnump3d - it gets all its urls wrong, when you click on a music directory, it points you to
http://server/ABC
instead of
http://server/music/ABC
This is supposed to be configurable in /etc/gnump3d/gnump3d with a
host_rewrite = "server/music"
(I'm guessing that would be the right value) but this has no effect on the URLs produced, no matter what you assign to host_rewrite.
I think this is a bug in gnump3d, but am not confident enough to report it just yet.
Some other people have had the same trouble:
http://www.nabble.com/apache2-mod_pr....html#a1503894
http://www.nabble.com/gnuMP3d-playli....html#a3456457
http://www.nabble.com/gnump3d-in-vir....html#a1587693
Does anyone have any ideas about how else this might be done?
I've toyed with the idea of using iptables, but not sure how this could work.
Thanks for any input.