How to make Subsonic the ROOT?

Need help? Post your questions here.

Moderator: moderators

How to make Subsonic the ROOT?

Postby erlingpa » Tue Oct 17, 2006 2:09 pm

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
erlingpa
 
Posts: 5
Joined: Tue Oct 17, 2006 2:05 pm

Re: How to make Subsonic the ROOT?

Postby erlingpa » Tue Oct 17, 2006 2:56 pm

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.
erlingpa
 
Posts: 5
Joined: Tue Oct 17, 2006 2:05 pm

Postby sindre_mehus » Tue Oct 17, 2006 6:22 pm

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>
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby matthew » Fri Feb 27, 2009 12:13 am

What is the complicated way? I don't really like to use redirects :)
matthew
 
Posts: 59
Joined: Thu Jan 25, 2007 9:59 pm
Location: USA - Glendora, Californina

Postby sindre_mehus » Fri Feb 27, 2009 9:49 am

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
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway


Return to Help

Who is online

Users browsing this forum: No registered users and 24 guests