in the above config its something wrongI think.
I think manovel means something like this:
ProxyPass /subsonic
http://localhost:4040
because just apache is aware of the folder "/subsonic"
Whatever at last I will leave you a running config:
What does this config do?
Subsonic iss listening on port 8443 (SSL) but I need a connection via Port 443 also but apache is still listening there, so here the mod_proxy magic:
- Code: Select all
<VirtualHost *:443>
ServerAdmin webmaster@yourdomain.de
ProxyVia full
ProxyPreserveHost on
<proxy>
Order deny,allow
Allow from all
</proxy>
ProxyPass / https://localhost:8443/
RequestHeader set ClientProtocol https
AllowCONNECT 443
SSLProxyEngine on
SSLEngine on
ServerName music.yourdomain.de
SSLCertificateFile /etc/ssl/certs/all.yourdomain.de.crt
SSLCertificateKeyFile /etc/ssl/private/all.yourdomain.de.key
ErrorLog /var/log/apache2/music.yourdomain.de-error.log
CustomLog /var/log/apache2/music.yourdomain.de-access.log combined
</VirtualHost>
Ubuntu/Debian Users also be aware about the file
/etc/apache2/mods-available/proxy.conf
especially if you don´t use the proxy permission config from above...
cheers