Moving the webapps context root or adding a prefix
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/ Sorry, my choice of keywords have not resulted any fruitful searches. -Jason Pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, 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
Re: Moving the webapps context root or adding a prefix
The super simple answer is deploy your 'ROOT' webapp as 'prefix' instead. --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/ Sorry, my choice of keywords have not resulted any fruitful searches. -Jason Pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, 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
RE: Moving the webapps context root or adding a prefix
-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 --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 x333Baltimore, 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
Re: Moving the webapps context root or adding a prefix
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 x333Baltimore, 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
RE: Moving the webapps context root or adding a prefix
-Original Message- From: Mark Thomas Sent: Monday, November 23, 2009 8:41 To: Tomcat Users List Subject: Re: Moving the webapps context root or adding a prefix Jason Pyeron wrote: -Original Message- From: David Smith 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) Nice, I like it. Is there any methods to do this in Tomcat 5.5? -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, 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
RE: Moving the webapps context root or adding a prefix
-Original Message- From: Jason Pyeron Sent: Monday, November 23, 2009 9:09 To: 'Tomcat Users List' Subject: RE: Moving the webapps context root or adding a prefix -Original Message- From: Mark Thomas Sent: Monday, November 23, 2009 8:41 To: Tomcat Users List Subject: Re: Moving the webapps context root or adding a prefix Jason Pyeron wrote: -Original Message- From: David Smith 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) Nice, I like it. Is there any methods to do this in Tomcat 5.5? Yes, is the answer to my own question. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, 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