tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Connick" <a.conn...@virgin.net>
Subject Re: Problems with jsp include files in sub-directories
Date Thu, 10 Jul 2008 16:13:52 GMT

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.

Andrew

----- Original Message ----- 
From: "Mark Thomas" <markt@apache.org>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Wednesday, July 09, 2008 10:17 PM
Subject: Re: Problems with jsp include files in sub-directories


>
> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.138 / Virus Database: 270.4.7/1541 - Release Date: 7/8/2008
7:50 PM
>
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message