Wrox Programmer Forums
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 3rd, 2007, 08:29 AM
Registered User
 
Join Date: Jul 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default redirection Tomcat

Hello,
i was hoping that someone can help me with a solution. I am hosting two applications on two separate Tomcat servlets on the same machine. TO make life for myself easier, i have configured redirectors in IIS to redirect to each of the applications respectively.
My manager prefers i use two different URLS to access the applications without any / from the internet instead of the /"application" after the DNS name.
now can anyone advise if there would be a way to do this since both need to be accessed from outside using the default http or https ports?

any help is much appreciated.
 
Old July 13th, 2007, 03:40 PM
Authorized User
 
Join Date: Apr 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This can be configured using virtual hosts in Tomcat. Configure two different virtual hosts with one application on each. A sample on configuring two virtual hosts and application on each of them can be referred here:

http://confluence.atlassian.com/display/DOC/Guide+to+using+Apache+Tomcat's+Virtual+Hosts

-eNJay





Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirection andyw ASP.NET 2.0 Basics 2 May 29th, 2006 05:23 PM
JWS Axis Tomcat (posted to Apache Tomcat too) rushman Servlets 0 April 15th, 2005 09:32 AM
Redirection in webservice suparba .NET Web Services 3 October 27th, 2004 01:15 PM
automatic 'redirection' stu9820 Flash (all versions) 4 September 20th, 2004 07:29 AM
Redirection a5xo3z1 Beginning PHP 4 June 19th, 2003 02:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.