Apr
14
Access Subsonic via Apache
April 14, 2009 | 1 Comment
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 | <VirtualHost *:80> ServerAdmin <email> ServerName subsonic.<subsonicserver>.com ServerAlias subsonic ServerSignature Off <Proxy http://127.0.0.1:8080> Allow from all </Proxy> ProxyPreserveHost on ProxyPass / http://127.0.0.1:8080/ ProxyPassReverse / http://127.0.0.1:8080/ </VirtualHost> |
Comments
1 Comment so far
Access Subsonic via Apache http://tinyurl.com/chhhyl