[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] adding contexts to server.xml
- Subject: [cobalt-developers] adding contexts to server.xml
- From: "John Voiklis" <voiklis@xxxxxxxxxxxxx>
- Date: Tue Jan 29 11:44:56 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
I have tried to modify Tomcat's server.xml file several times, but after I
reload the web service the servr.xml file reverts to its original state.
For example I needed to add new contexts to my virtual hosts; the original
looked something like this:
<Host name="host.domain">
<Context path="" docBase="/home/sites/siteName/web" debug="0"/>
</Host>
I changed it thus:
<Host name="host.domain">
<Context path="" docBase="/home/sites/siteName/web" debug="0"/>
<Context path="/path" docBase="/home/sites/siteName/web/path" debug="0"/>
</Host>
On reload I was back to where I started.
Help please...Thanks--J