Changing tomcat default page - SOLVED

Need help? Post your questions here.

Moderator: moderators

Changing tomcat default page - SOLVED

Postby NAvAP » Sun Aug 12, 2007 2:41 am

Is there a way to change the default page to the subsonic directory instead of the ROOT directory under TOMCATDIR/webapps/

I tried replacing the contents of the ROOT dir with the contents of the subsonic dir, but then tomcat complained about a missing start page.
Last edited by NAvAP on Mon Aug 13, 2007 4:59 am, edited 1 time in total.
NAvAP
 
Posts: 7
Joined: Sun Aug 12, 2007 2:39 am

Postby NAvAP » Mon Aug 13, 2007 4:58 am

Since I didnt really care about the contents of the default start page, I just edited the index.htm file in TOMCATDIR/webapps/root and deleted the contents and left it as
Code: Select all
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
     <META
     HTTP-EQUIV="Refresh"
     CONTENT="0; URL=../music/index.view">

</head>

<body>

</body>
</html>

I also changed the subsonic directory into a music directory for familiaritys sake.

This results in a vistor getting forwarded to the music directory upon arrival.
NAvAP
 
Posts: 7
Joined: Sun Aug 12, 2007 2:39 am


Return to Help

Who is online

Users browsing this forum: No registered users and 20 guests