Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Accessing an application with different paths

David Kerber

2007-07-20

Replies:

I sure wish you had been answering questions when I was setting this up
4 or 5 years ago!!

D


Caldarale, Charles R wrote:
>> From: David kerber [mailto:dckerber@(protected)]
>> Subject: Re: Accessing an application with different paths
>>
>> But then they both need their own copy of the war
>>  
>
> Not true; the docBase attributes in the two (or more) <Context> elements
> can be identical.
>
>  
>> I never figured out how to get these to work with
>> a name that looked like a sub-directory, so that
>> it was accessed like:
>> http://www.myhost.com:81/wra/customername/Login.jsp
>>  
>
> Put the <Context> element in a file named
> conf/Catalina/[host]/wra#customername.xml.
>
> - Chuck
>  



---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.