SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


Sidebar

Recently Changed Pages:

View All Pages


View All Tags


LinkedIn




WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Pages with comments

View All Comments

apacheredirect

Apache Redirect

This is a HTML redirect script. Replace '/gw/webacc' two times with where you want your web server to redirect and you're done. If your webserver listens to both http and https it will work for both protocols.

<html>
   <!-- This is all just a super-duper redirect to the Welcome page
        If the user has Javascript 1.1 installed, they don't get their history
        messed up.  Otherwise, it behaves like a normal redirect, and even has
        fallbacks to non JS and browsers that don't handle the meta refresh tag
     -->
   <head>
      <script language="JavaScript">
         <!--
         var sThisURL = unescape('/gw/webacc');
 
         function doRedirect()
         {
            actualRedirect();
         }
 
         function actualRedirect()
         {
            setTimeout( "top.location.href = sThisURL", 500 );
         }
         //-->
      </script>
      <script language="JavaScript1.1">
         <!--
         function actualRedirect()
         {
            // this is a better way to do it if we have JS 1.1, not adding 
            // to the browser's history
            top.location.replace( sThisURL );
         }
 
         if ( "MSIE" == navigator.appName )
         doRedirect();
 
         //-->
      </script>
   </head>
   <meta http-equiv="refresh" content="1;url=/gw/webacc" target="top">
 
   <body bgcolor="white" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" onLoad="doRedirect()">
   </body>
</html>

The redirect here is the redirect used for the login page for groupwise 7. For groupwise 6.5 it would be '/servlet/webacc'.

You could leave a comment if you were logged in.
apacheredirect.txt · Last modified: 2021/09/24 00:24 (external edit)