Page 1 of 1

Changing tomcat default page - SOLVED

PostPosted: Sun Aug 12, 2007 2:41 am
by NAvAP
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.

PostPosted: Mon Aug 13, 2007 4:58 am
by NAvAP
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.