SHIFT

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

User Tools

Site Tools


Sidebar

Sponsor:


Recently Changed Pages:

View All Pages


View All Tags







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

PageDateDiscussionTags
2019/11/18 13:52 1 Comment

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'.

Discussion

Enter your comment. Wiki syntax is allowed:
G K F X J
 
apacheredirect.txt · Last modified: 2019/11/18 12:21 (external edit)