and put a javascript code in wt.jsp to redirect to https://idm.my.org/idm.

On 10/18/10, Karl San Gabriel <karl.sangabr...@gmail.com> wrote:
> 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_s...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to