tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl San Gabriel <karl.sangabr...@gmail.com>
Subject Re: Tomcat Re-direct
Date Mon, 18 Oct 2010 08:13:17 GMT
How about changing <TOMCAT_HOME>\webapps\ROOT\WEB-INF\web.xml?
===================
  <description>
     Welcome to Tomcat
  </description>

<!-- JSPC servlet mappings start -->

    <servlet>
        <servlet-name>org.apache.jsp.index_jsp</servlet-name>
        <!--<servlet-class>org.apache.jsp.index_jsp</servlet-class>-->
		<jsp-file>/wt/wt.jsp</jsp-file>
    </servlet>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.index_jsp</servlet-name>
        <url-pattern>/index.jsp</url-pattern>
    </servlet-mapping>

============

Regards,
Karl




On 10/18/10, Richard da Silva <roman_seaa@yahoo.com> wrote:
> Hi all,
>
> I have an IDM (Identity Manager) instance running on an Apache Tomcat
> Server.
>
> My Tomact version is  : 6.0.18
>
> The http address which activates my IDM application is in the format :
>
> https://idm.my.org/idm
>
>
> The thing is : if the address is accidentally written as follows ---
> https://idm.my.org  ---- then the Apache Tomcat Main Page is displayed.
>
> Normally, this means nothing, and would not bother me. Except that, there
> might be some security concerns involved in directing using to the Server
> Main Menu.
>
> My question is :  how can I configure the Tomcat to automatically RE-DIRECT
> to the appropriate webpage ?
>
> In other words :  if  someone enters "https://idm.my.org", they will be
> auto-directed to "https://idm.my.org/idm"
>
>
> Thanks
>
> Richard da Silva
>
>
>

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


Mime
View raw message