Pointing a directory to Subsonic's port
I'm hosting subsonic on my server, and I'm trying to make it accessible via a directory on my domain, i.e http://mydomain.org/subsonic. Currently, I have to access it via http://mydomain:16223. You can see that it is possible because Sindre uses this method for the Subsonic demo: http://www.subsonic.org/demo
So far, I've got it to work with mod_proxy in apache, although it is only working with HTTPS. If I try to create a link in HTML to http://mydomain.org/subsonic it will 404, so I'm forced to link to https://mydomain.org/subsonic.
Here is the relevant piece of code from my apache conf:
As you can see the proxy is pointing to http and the http port (16223). Anyone got a solution?
So far, I've got it to work with mod_proxy in apache, although it is only working with HTTPS. If I try to create a link in HTML to http://mydomain.org/subsonic it will 404, so I'm forced to link to https://mydomain.org/subsonic.
Here is the relevant piece of code from my apache conf:
- Code: Select all
ProxyPass /subsonic http://2sup.me:16223
ProxyPassReverse /subsonic http://2sup.me:16223/
As you can see the proxy is pointing to http and the http port (16223). Anyone got a solution?