Jason Pyeron wrote:
>  
> 
>> -----Original Message-----
>> From: David Smith [mailto:d...@cornell.edu] 
>> Sent: Monday, November 23, 2009 7:51
>> To: Tomcat Users List
>> Subject: Re: Moving the webapps context root or adding a prefix
>>
>> The super simple answer is deploy your 'ROOT' webapp as 
>> 'prefix' instead.
> 
> But that won't deploy each new war file in webapps under prefix/context

So name then prefix#manager, prefix#examples etc. as per the docs for
multi-level contexts (assuming you are using 6.0.20)

Mark

> 
>> --David
>>
>> Jason Pyeron wrote:
>>> We are installing TC behind a proxy. The proxy will map all 
>> requests 
>>> of form
>>> http(s)://host/prefix/* to tomcat.
>>>
>>> Is there a config option to change the context root?
>>>
>>> i.e.:
>>>
>>> webapps/ROOT => http://localhost/prefix/ webapps/manager => 
>>> http://localhost/prefix/manager/ webapps/examples => 
>>> http://localhost/prefix/examples/
>>>
> 
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -                                                               -
> - Jason Pyeron                      PD Inc. http://www.pdinc.us -
> - Principal Consultant              10 West 24th Street #100    -
> - +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
> -                                                               -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This message is copyright PD Inc, subject to license 20080407P00.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to