Yeah, but I'm trying to keep the directory name in the URL so I can use
Netegrity to restrict access to them with some users have different access
to some URLs...  redirecting changes the url :(

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11 2002 03:00 PM
To: Tomcat Users List
Subject: Re: Deploy app to more than one path without creating multiple
instan ces. (How?)



AFAIK, you'll always end up have three different web applications despite
the fact that they have the same docBase attribute. So if you have a
servlet in that web app, it will be initialized three times - once for
every context. I'm not sure if apache redirects will work. try it out. :-)

RS





[EMAIL PROTECTED] on 03/11/2002 07:53:01 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:

Subject:  Deploy app to more than one path without creating multiple instan
      ces.  (How?)

I have an app that I'd like to deploy as more than one path:

http://host.com/path1
http://host.com/path2
http://host.com/path3
etc.

But I want them all pointing to the same web app.  When I use web app
deploy:

WebAppConnection conn warp localhost:port
WebAppDeploy path/appdirectory conn /path1
WebAppDeploy path/appdirectory conn /path2
WebAppDeploy path/appdirectory conn /path3

I always end up launching 3 seperate apps.  Is there a way to get it so the
3 paths end up sharing the same app?

Thanks...

--
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]>

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

Reply via email to