I can't get madsonic working together with Apache functioning as reverse proxy.
I put apache as a reverse proxy in front of all my webinterfaces. I also add basic authentication to it so that people first need to authenticate to apache before they can connect to the webinterface. This is a huge security advantage since attackers can't mess with any of my webinterfaces unless they've first authenticated to apache. This how ever is not possible if the web interface it self is already using http basic authentication, since you can't chain two of those together. Unfortunately madsonic is using basic authentication, so I can't do that. (couchpotato, sickrage, roundcube, owncloud, postfixadmin, etc... all use a different form of authentication with cookies). Nevertheless, I do want apache in front of madsonic as a reverse proxy because I think the ssl stack of apache is a lot more bullet proof since I can configure which ciphers to use etc..
But I can't get that to work :p
Code: Select all
ProxyPass /madsonic http://10.0.1.2:4040 ProxyPassReverse /madsonic http://10.0.1.2:4040 ProxyRequests off #do not just proxy all requests like a forward proxy ProxyPreserveHost off
If I open up the developer console in firefox I see tons of:
"GET https://$url:$port/style/simplify.css 404"
"GET https://$url:$port/icons/default/gpl.png 404"
"GET https://$url:$port/script/scripts.js 404"
Do I need to be rewriting things for this to work? Does anyone else succesfully have apache reverse proxy madsonic?
Thanks in advance.