I have done this with Tomcat standalone (not using IIS) like so:

 

First you create an index.htm file (you can use notepad to do this its
easy) in the $TOMCAT_HOME/webapps/ROOT folder with this code below in
order for redirect to the regular Remedy Mid Tier login URL to work from
the base URLs (i.e. http://servername.com )

 

Index.htm contents:

 

<html>

 

<head>

<meta http-equiv="refresh"
content="0;URL=http://servername.com/arsys/home/";>

</head>

 

<body>

</body>

 

</html>

 

 

Then open up the web.xml file in the /conf folder of the Tomcat
directory. Look to the end of this file and look for these lines.

 

<welcome-file-list>

        <welcome-file>index.html</welcome-file>

        <welcome-file>index.htm</welcome-file>

        <welcome-file>index.jsp</welcome-file>

      </welcome-file-list>

 

Edit to reflect your new file which is named index.htm and comment out
the other lines to not allow users default access to the Tomcat JSP page
index.jsp. Your final code fragment should look like this for the
welcome-file-list section:

 

<welcome-file-list>

        <welcome-file>index.htm</welcome-file>

        <!-- <welcome-file>index.htm</welcome-file>

        <welcome-file>index.jsp</welcome-file> -->

 </welcome-file-list>

 

Note the <!-opening and --> closing brackets comment out the lines of
code between them so they are not active.

Now restart Tomcat and test redirection from the base server URLs

 

Hope that helps,

Dan

 

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of strauss
Sent: Friday, October 12, 2007 2:32 PM
To: [email protected]
Subject: Re: Map "http://midtierservername"; to a midtier URL such as
"http://midtierservername/arsys/home";?

 

Once you create the virtual directory in IIS to a folder (the only way

you can), then go back and switch it to a redirection to a URL (also

"The exact URL entered above," and "A permanent redirection for this

resource."  The redirection URL in my case, for a virtual directory of

ITSMHome, points to Tomcat where mid-tier is.  We have done the same

thing for years to provide a short link to the mid-tier 5.1.2 web on IIS

5.0.

 

http://itsm.unt.edu/ITSMHome is a virtual directory on IIS that points

to mid-tier on http://remedy5.ars.unt.edu:8080/arsys/home which of

course redirects to

http://remedy5.ars.unt.edu:8080/arsys/shared/login.jsp?/arsys/home

 

Christopher Strauss, Ph.D.

Remedy Database Administrator

University of North Texas Computing Center

http://itsm.unt.edu/ 

 

> -----Original Message-----

> From: Action Request System discussion list(ARSList) 

> [mailto:[EMAIL PROTECTED] On Behalf Of Rabi Tripathi

> Sent: Friday, October 12, 2007 1:04 PM

> To: [email protected]

> Subject: Map "http://midtierservername"; to a midtier URL such 

> as "http://midtierservername/arsys/home";?

> 

> I have IIS 6, Tomcat 5.5.17 w

> This is for web server/jsp engine gurus.

> 

> I have IIS 6, Tomcat 5.5.17 with Midtier 7.0.1. 

> 

> I tried messing with IIS's configuration so that 

> http://midtierserver name would map to something like 

> http://midtierservername/arsys/home, so people wouldn't have 

> to type a long URL. Couldn't get it done.

> 

> IIS's virtual mapping wants me to pick a folder to map to not 

> a URL like above. Also, it wants an alias to map to, so even 

> if I could get it done, looks like the URL will look like, 

> http://midtierservername/aliasname.

> 

> I see iisstart.htm file in the default directory, which 

> contains the error message that's displayed when I type 

> http://midtierserver. Wondering if there's any trick I can 

> play with this file to have it redirect to 

> http://midtierservername/arsys/home or any other midtier URL.

> 

> Any thoughts?

> 

> TIA.

> 

> 

>        

> ______________________________________________________________

> ______________________

> Take the Internet to Go: Yahoo!Go puts the Internet in your 

> pocket: mail, news, photos & more. 

> http://mobile.yahoo.com/go?refer=1GNXIC

> 

> ______________________________________________________________

> _________________

> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 

> ARSlist:"Where the Answers Are"

> 

 

________________________________________________________________________
_______

UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where
the Answers Are"


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to