You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sebastien Moretti <Se...@igs.cnrs-mrs.fr> on 2004/09/16 12:05:46 UTC
[DefaultContext in tomcat 5.5]
Hello,
Does 'DefaultContext' element work in Tomcat 5.5 ?
I used it in tomcat 5.0.27 with this syntaxe in $CATALINA_HOME/conf/server.xml
:
<Host appBase="webapps" name="localhost">
...
<DefaultContext cookies="true" override="true" swallowOutput="true"
allowLinking="true"/>
</Host>
Can I use it in Tomcat 5.5 ?
Thanks
--
Sebastien MORETTI
Linux User - #327894
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: [DefaultContext in tomcat 5.5]
Posted by Remy Maucherat <re...@gmail.com>.
On Thu, 16 Sep 2004 12:05:46 +0200, Sebastien Moretti
<se...@igs.cnrs-mrs.fr> wrote:
> Hello,
> Does 'DefaultContext' element work in Tomcat 5.5 ?
>
> I used it in tomcat 5.0.27 with this syntaxe in $CATALINA_HOME/conf/server.xml
> :
>
> <Host appBase="webapps" name="localhost">
> ...
> <DefaultContext cookies="true" override="true" swallowOutput="true"
> allowLinking="true"/>
> </Host>
Defaults can be set for:
- all contexts in conf/context.xml (this will handle all the stuff
that a Context element can, instead of a subset like DefaultContext)
- per host, in conf/<enginename>/<hostname>/context.xml.default (still
with the usual Context element)
There's some documentation on that here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
--
xxxxxxxxxxxxxxxxxxxxxxxxx
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
xxxxxxxxxxxxxxxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org