Page 1 of 1

How to make Subsonic the ROOT?

PostPosted: Tue Oct 17, 2006 2:09 pm
by erlingpa
Is there a way to make Subsonic the ROOT application in Tomcat?

I tried to just copy (in the webapps folder) the content of the subsonic folder to the ROOT folder (backed up the original ROOT first). I get the login-screen, but I cannot login with my user!

- Erling

Re: How to make Subsonic the ROOT?

PostPosted: Tue Oct 17, 2006 2:56 pm
by erlingpa
To clarify:
I want to make Subsonic load when accessing http://someserver/ instead of http://someserver/subsonic

System info:
Tomcat Version: Apache Tomcat/5.5.17
OS Name: Windows XP
JVM Version: 1.5.0_07-b03
JVM Vendor: Sun Microsystems Inc.

PostPosted: Tue Oct 17, 2006 6:22 pm
by sindre_mehus
Well, the easiest way to do that is to create an index.html file in the ROOT directory with the following content:

Code: Select all
<html>

<head>
    <meta http-equiv="refresh" content="0;URL=subsonic/index.view">
</head>

<body>
</body>

</html>

PostPosted: Fri Feb 27, 2009 12:13 am
by matthew
What is the complicated way? I don't really like to use redirects :)

PostPosted: Fri Feb 27, 2009 9:49 am
by sindre_mehus
I guess you can configure the contexts in the Tomcat web admin interface, or in the xml config files. Sorry, don't have more details - it's been a long while since I used Tomcat.

Sindre