tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cressatti, Dominique" <Dominique.Cressa...@lansa.co.uk>
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"
            docBase="webapps/lansa"
            debug="0"
            reloadable="true" >
              <SimpleRealm filename="conf/users/lansa-users.xml" />
              <LogSetter name="lansa_tc.log" path="logs/lansa.log" />
              <LogSetter name="lansa_servlet_log"
                         path="logs/servlet_lansa.log"
                         servletLogger="true"/>
  </Context>

"/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,
eg:
...
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

Dom



-----Original Message-----
From: Doremieux, Olivier [mailto:Olivier.Doremieux@fc.celera.com]
Sent: 01 February 2002 17:05
To: 'tomcat-user@jakarta.apache.org'
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
 
Thanks
 
Olivier Dorémieux


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message