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>
Filed under: Computing, Debian, Système

Tagged with: , ,

Liked this page?

Tweet it

Subscribe to the RSS feed or sign up for the newsletter now.

Posts related to Access Subsonic via Apache

2 Comments to "Access Subsonic via Apache"

  1. Trackback on Samantha Halfon on April 14, 2009 at 8:38 pm

    Access Subsonic via Apache http://tinyurl.com/chhhyl

  2. Trackback on samantha on April 14, 2009 at 10:38 pm

    Access Subsonic via Apache http://tinyurl.com/chhhyl

Name (required)

Email (required)

Website

Leave a Reply

  • About Me


    photo of Samantha Halfon Samantha Halfon
    Software Engineer
    blueKiwi software
    Paris, France
    I enjoy playing with my computer(s), listening to Bob Dylan (and related artists) and watching movies (especially if they were directed by Martin Scorsese or John Cassavetes). Sometimes, I play a little guitar... If not doing any of the above, I am either riding a small red bike around Paris, or, making videos. About my videomaking please check out World Wide Angle and its blog.