Something that I have is a custom webpage on my MidTier that redirects based on 
which incoming DNS host name the user is coming from (options are "remedy" or 
the physical server hostname for I.T. staff or "help" for end users.  I think I 
got this from someone on the ARSList but I forgot who so I can't give proper 
credit.  

Basically, set the index.html or whatever file is first loaded when someone 
goes to your server with something like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<%@ page session="false" %>
<%
String redirectURL = "http://"+request.getHeader("host")+"/arsys/home"; 
//default redirect to default Mid Tier server

if (request.getHeader("host").equals("help")) {//redirect to SRM
    redirectURL = 
"http://"+request.getHeader("host")+"/arsys/forms/<remedyappservernamegoeshere>/SRS%3AServiceRequestConsole/enduser";
} else if (request.getHeader("host").equals("remedy")) {
    redirectURL = "http://"+request.getHeader("host")+"/arsys/home";
} 

response.sendRedirect(redirectURL);
%>
</html>


Thanks,

Shawn Pierson 
Remedy Developer | Energy Transfer


-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of team.rem...@libero.it
Sent: Thursday, May 24, 2012 4:13 AM
To: arslist@ARSLIST.ORG
Subject: Requester Console in Home Page.

Hi All,
i would like to display directly the 'Requester Console' for my user 
requesters !
is it possible ?  How do ?

thx 
Peter

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

Private and confidential as detailed here: 
http://www.sug.com/disclaimers/default.htm#Mail . If you cannot access the 
link, please e-mail sender.

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

Reply via email to