Andrew Connick wrote:
Hello Mark Thomas

Thanks for your reply.

I have got some information from my hosting company, my setup is:
<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>

Which doesn't quite fit with your example, although I suspect that as
appBase equals docBase I will have similar or same problem ?

Yep it is the same issue. appBase == docBase is not a valid configuration and will, as you are seeing, break all sorts of things.

One further question, could you clarify your correct configuration example,
I am not sure what the first line means
( mv .../webapps/yourApp .../webapps/ROOT )

Using the setup above the configuration should be:
<Host name="windsor-chamber.co.uk" appBase="/home/andrew42/public_html">
<Alias>www.windsor-chamber.co.uk</Alias>
</Host>

You then need to add a directory called ROOT under public_html and all of your content needs to be copied from public_html to public_html/ROOT

Any settings you want for your context (debug, reloadable, etc) should be added to public_html/ROOT/META_INF/context.xml eg
<Context reloadable="true" debug="1">
</Context>

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]

Reply via email to