You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ryan <ry...@trekalliance.com> on 2002/04/06 02:46:01 UTC
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: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: tomcat 4.03 with apache 1.3
Posted by Joseph Molnar <jo...@hotmail.com>.
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" <ry...@trekalliance.com>
To: <to...@jakarta.apache.org>
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: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>