<Host name="windsor-chamber.co.uk" appBase="/home/andrew42/public_html">
<Alias>www.windsor-chamber.co.uk</Alias>
<Context path="" reloadable="true" docBase="/home/andrew42/public_html"
debug="1"/>
</Host>
As they like to say on Mythbusters after blowing something up, "There's
your problem." A host's appBase and a context's docBase cannot be the
same. The configuration has never been valid. Remove the whole
<Context ... > element from inside the server.xml. Also remove the
docBase and path attributes from your
public_html/ROOT/META-INF/context.xml. They are automatically
configured by tomcat.
--David
Andrew Connick wrote:
Thanks Mark
They have set the host to:
<Host name="windsor-chamber.co.uk" appBase="/home/andrew42/public_html">
<Alias>www.windsor-chamber.co.uk</Alias>
<Context path="" reloadable="true" docBase="/home/andrew42/public_html"
debug="1"/>
</Host>
and the context in public_html/ROOT/META_INF/context.xml is :
<Context docBase="ROOT" path="/" reloadable="true" debug="1">
</Context>
There is also a public_html/META_INF/context.xml, which is:
<Context reloadable="true" debug="1">
</Context>
Thanks
Andrew
----- Original Message -----
From: "Mark Thomas" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, July 10, 2008 5:44 PM
Subject: Re: Problems with jsp include files in sub-directories
Andrew Connick wrote:
Hello Mark Thomas
Thanks for your reply
I forwarded it to my web hosting company. They have followed the
instructions. I now find that I have to use
www.windsor-chamber.co.uk/ROOT/index.jsp
My hosting company says it's not possible to change this (to
www.windsor-chamber.co.uk/index.jsp ) without re-introducing the
original
problem.
Can you offer any more help ? I suspect this isn't a tomcat issue,
however I
am running out of options here.
Find a hosting company that actually knows what it is doing?
This is definitely a configuration issue at their end. If you can get the
relevant <Host> and <Context> configurations we can figure out which bit
the have messed up this time.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.4.7/1543 - Release Date: 7/9/2008
6:32 PM
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
David Smith
Network Operations Supervisor
Department of Entomology
Cornell University
2132 Comstock Hall
Ithaca, NY 14853
Phone: (607) 255-9571
Fax: (607) 255-0940
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]