Redirect link

From Swivel Knowledgebase
Revision as of 12:52, 11 May 2017 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Overview

It is possible to create a redirect link to a specific application page. This document outlines how to configure on a Swivel appliance a redirect link from the root level to the User Portal. This redirect may work for other applications and for software installations, but would need to be tested.


Prerequisites

Swivel appliance 2.x

Redirect Files Redirect.zip


Creating the redirect link

Using the supplied redirect files

Extract the folder ROOT and file index.jsp from the archive Redirect.zip then copy to /usr/local/tomcat/webapps2 using a program such as WinSCP, see theWinSCP How To Guide, then ensure that the ownership/group of the folder and file are swivel and permissions for the ROOT folder are rwxrwxr-x and the index.jsp are rw-rw-r--.

Edit the index.jsp file and alter the /userportal to reflect the destination of the link.

 <%
     response.sendRedirect(request.getContextPath() + "/userportal");
 %>


Testing

Browse to the root of the Swivel appliance, for example:

https://hostname:8443

This will then automatically redirect the user to

https://hostname:8443/userportal/login

This could be simplified further still when using a Port Address Translation (PAT) on port 443, see How to run PINsafe on non-default ports

For example: https://hostname


Known Issues

Troubleshooting