SHIFT

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

User Tools

Site Tools


Sidebar

Sponsor:

Would you like to sponsor this site?
Or buy me a beer?:


Recently Changed Pages:

View All Pages
View All Q Pages


View All Tags


Sign up for Q to post comments.





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.


Terms And Conditions for Q users


Pages with comments

PageDateDiscussionTags
2019/05/01 14:08 2 Comments
2019/03/15 16:02 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 3 Comments
2017/04/20 15:28 1 Comment
2017/04/20 15:23 1 Comment
2017/04/19 14:44 1 Comment
2017/04/17 20:10 1 Comment
2017/04/17 20:07 1 Comment
2017/04/17 19:58 1 Comment
2017/04/17 19: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'.

You could leave a comment if you were logged in.
apacheredirect.txt · Last modified: 2013/04/23 20:57 by sjoerd