Yup you can definitely do those things. What you want to do is take a look
at the web.xml file found in your $CATALINA_HOME/conf directory.  The
web.xml file found there controls the settings for that instance of Tomcat
... then in your WEB-INF directory you can put in your own web.xml to
control your app in a more fine-tuned fashion.  Anyway, take a look at the
one in the conf directory ... there are some self-explanatory settings there
to look at.


----------------------------------------
Joseph Molnar
http://www.codesta.com/


----- Original Message -----
From: "ryan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 05, 2002 4:46 PM
Subject: tomcat 4.03 with apache 1.3


> I am integrating tomcat 4.03 with apache 1.3x, Iam using the mod_webapp
> connector.
> I have these lines in my httpd.conf:
> LoadModule webapp_module libexec/mod_webapp.so
> WebAppConnection warpConnection warp localhost:8008
> WebAppDeploy examples warpConnection /examples
>
> When i go to servername/examples it brings up the index of my
> webapps/examples.  Everything functions correctly.  I was wondering is
there
> a way to set it up so I have more control over that context.  Such as
> limiting directory listings or indexes?
> Also is there a way to set up a default document root for the context?  I
> have tried the virtual host set up but I want to have my default document
> root for my html and a default for each tomcat context all under the same
> servername.  So www.domain.com takes me to my index.html.  While
> www.domain.com/examples takes me to say
> pathtotomcat/webapps/examples/index.jsp.????
>
> thanks
> ryan
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to