LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-18-2011, 11:10 AM   #1
Drigo
Member
 
Registered: May 2009
Posts: 111

Rep: Reputation: 17
Angry TOMCAT Redirect a stopped application to another?


So, I have two application that I've deployed. Let's say:

http://myhost:8080/application_v14
http://myhost:8080/application_v15

I stopped my application version 14 but I want to create a internal/external link so when the user types the address (http://myhost:8080/application_v14) , it automatically goes to my newer version application (http://myhost:8080/application_v15).

Any help?

Im using SunOS 5.9 and tomcat 5.0.28

Last edited by Drigo; 07-18-2011 at 11:13 AM.
 
Old 07-18-2011, 11:38 AM   #2
SL00b
Member
 
Registered: Feb 2011
Location: LA, US
Distribution: SLES
Posts: 375

Rep: Reputation: 112Reputation: 112
http://en.wikipedia.org/wiki/URL_red...atus_codes_3xx
 
Old 07-18-2011, 11:42 AM   #3
SL00b
Member
 
Registered: Feb 2011
Location: LA, US
Distribution: SLES
Posts: 375

Rep: Reputation: 112Reputation: 112
In general, you don't want to use the URI as a method for version control. The URI you expect your customers to hit should remain static, without any version number. You can have multiple directories on the web server with different application versions in the directory names, and then just point the URI map to the correct directory.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirect a tomcat application URL and port using apache. sudheshpn Linux - Software 5 06-17-2011 03:51 PM
how to redirect url in apahce or tomcat? jimmyjiang Red Hat 2 11-12-2007 11:14 AM
how to redirect tomcat homepage? jimmyjiang Linux - Software 0 07-10-2007 11:07 AM
redirect site from apache to tomcat carlainz Linux - Server 1 12-09-2006 03:41 AM
How to redirect apache to tomcat? gepesz Linux - General 0 07-29-2004 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration