tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cressatti, Dominique" <>
Subject RE: tomcat + apache & webapps
Date Fri, 01 Feb 2002 17:56:31 GMT
I believe so.

create a context in server.xml
As an example see mine.
<Context path="/CGI-BIN"
            reloadable="true" >
              <SimpleRealm filename="conf/users/lansa-users.xml" />
              <LogSetter name="lansa_tc.log" path="logs/lansa.log" />
              <LogSetter name="lansa_servlet_log"

"/CGI-BIN" refer to the name of your app and you can test it
by pointing your browser to http://localhost:8080/MyApp/servlet/YourServlet

"webapps/lansa" refer to where your app is physically located (in my case
under tomcat_home/webapps/lansa

Check that you can access your app as above 1st.
Once your happy you use WebAppDeploy to publish your app through apache,
WebAppDeploy YourAppName WarpConnection /AnyURLYouWant
if you point your browser to http://localhost/AnyURLYouWant/YourServlet
it should work as well.

Let me know if it's not clear


-----Original Message-----
From: Doremieux, Olivier []
Sent: 01 February 2002 17:05
To: ''
Subject: tomcat + apache & webapps

Is there some way to not put my application in the apache/webapps directory?

I am using Tomcat 4.0.1 & apache 1.3.22
Olivier Dorémieux

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message