Solved

Making a root folder for JBoss Tomcat 4.1.29

Posted on 2006-10-31
3
582 Views
Last Modified: 2008-01-09
I'm building a new website on Tomcat 4.1.29. I've figured out how to create sub-sites so that the web address is:
http://servername:8080/appname

How do you create a web root folder so that it can be accessed simply with: http://servername/

In the root folder, we also need to place some common CSS and images that can all be accessed by all subsites. (i.e. <img src="/images/photo.jpg">)

In IIS, you simply use the directory structure as needed, but I can't seem to figure out how to do this in Tomcat.
0
Comment
Question by:DJmistral
3 Comments
 
LVL 19

Accepted Solution

by:
ramazanyich earned 50 total points
ID: 17853996
Default root pages for tomcat are placed in $TOMCAT_HOME/webapps/ROOT
simplest way is to replace default pages by your's.
Another way is to change path of the default ROOT folder in file $TOMCAT_HOME/conf/server.xml
Search for ROOT in that file and replace it by your directory name
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question