unpackwars="false" should only mean that the app runs from the packed .war file, or so the Tomcat documentation seems to say.
I do also have a web.xml but I don't see where this comes in to the configuration of the <Host> elements? Andoni. ----- Original Message ----- From: "David Brown" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 27, 2002 11:47 AM Subject: Re: Host & Context - Unpacking of WARs > Andoni writes: > > > Hello, > > > > I have two configurations: 1st one works 2nd doesn't. I want to get the 2nd > > to work though as it stops .war files unpacking. Can anyone tell me how to > > make the 2nd one work? The error I get is: > > > > Forbidden > > You don't have permission to access / on this server. > > > > But I think that's coming from the Apache server so it isn't even getting to > > tomcat? > > > > Thanks, > > Andoni. > > > > <Host name="animo.andoni.[mydomain].ie" debug="0" > > appBase="webapps/animo" > > unpackWARs="true"> > > <Alias>andoni.[mydomain].ie</Alias> > > <Context path="" > > docBase="" > > debug="0" > > workDir="[disk_name]/apache/jakarta/tomcat/work/animo" > > reloadable="false"> > > </Context> > > </Host> > > > > <Host name="animo.andoni.[mydomain].ie" debug="0" > > appBase="webapps/animo.war" > > unpackWARs="false"> > > <Alias>andoni.[mydomain].ie</Alias> > > <Context path="" > > docBase="" > > debug="0" > > workDir="[disk_name]/apache/jakarta/tomcat/work/animo" > > reloadable="false"> > > </Context> > > </Host> > > > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > Hello Andoni, so did u look at ur httpd.conf directives: <directory..., > <alias... etc? but tc is a web server too when requests r handed off from > apache. tc looks at "/" as docbase or appbase root so what u have in ur war > file becomes /<application_context> where <application_context> is the web > app u have defined 4 tc to unpack. i don't see how the web app can execute > if unpackWARS="false". r u defining a web.xml at all or r u only interested > in configuring server.xml? thanx, david. > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
