I have setup Subsonic on my server last week as a standalone applicaiton. That means that Subsonic runs its own webserver. The only drawback of this method of deployment is that, to access the application, I had to type http://<subsonic server>:8080.

To access Subsonic while using port 80, I enabled the mod_proxy and added a VirtualHost as follow.

To enable the proxy module, run :

1
 a2enmod proxy_http

To access Subsonic via Apache, create a Virtual Host similar to the one below :

1
2
3
4
5
6
7
8
9
10
11
12
&lt;VirtualHost *:80&gt;
ServerAdmin &lt;email&gt;
ServerName subsonic.&lt;subsonicserver&gt;.com
ServerAlias subsonic
ServerSignature Off
&lt;Proxy http://127.0.0.1:8080&gt;
Allow from all
&lt;/Proxy&gt;
ProxyPreserveHost on
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
&lt;/VirtualHost&gt;

Comments

1 Comment so far

Name (required)

Email (required)

Website

Leave a Reply