tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madison Le <...@txwes.edu>
Subject RE: Redirect or Forward a URL on tomcat
Date Mon, 09 Dec 2013 15:36:30 GMT
Hello Andre',

Yes, this looks strange but this webapp (https://ramlink.txwes.edu:8443/WebAdvisor/WebAdvisor)
needs to have 2 levels down. It can have a different name at this levels (like WebAdvisor/Production),
but it needs to have this format for it to work. 

Do You mean that make the https://ramlink.txwes.edu:8443/WebAdvisor/WebAdvisor to be the "default
webapp" or https://ramlink.txwes.edu to the "default webapp" ? Do you know the article which
talks about this? I could not find it. 

Thanks

-----Original Message-----
From: André Warnier [mailto:aw@ice-sa.com] 
Sent: Monday, December 09, 2013 8:40 AM
To: Tomcat Users List
Subject: Re: Redirect or Forward a URL on tomcat

Madison Le wrote:
> Hello Everyone,
> 
> I have tried to redirect or forward a URL on tomcat but I am not sure how to do this.
> 
> The tomcat console is http://ramlink.txwes.edu:8080 or https://ramlink.txwes.edu:8443.
I created a web application which has the URL is https://ramlink.txwes.edu:8443/WebAdvisor/WebAdvisor.
I would like to redirect the https://ramlink.txwes.edu to https://ramlink.txwes.edu:8443/WebAdvisor/WebAdvisor.
> 
> In addition, the tomcat version is 7.0 on windows 2008 R2.
> 
> Any help would greatly appreciate.
> 

What you probably want, is to have this webapp become the "default webapp", so that it responds
itself to the URL http://ramlink.txwes.edu:8080/.
For that, you need to change it into the ROOT webapp.
I'm quite sure that there is a Tomcat FAQ article for that.

Note that I am bit surprised that currently your app responds to "/WebAdvisor/WebAdvisor"

(instead of just "/WebAdvisor"). That looks like a misconfiguration already somehow.

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


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


Mime
View raw message