Redirect to SSL and/or default web page for Netware 6.5

  • 7006759
  • 31-Aug-2010
  • 27-Apr-2012

Environment

Novell NetWare 6.5 Support Pack 8
 
 

Situation

-To automatically be redirected to SSL (http to https), do the following:

In the sys:/apache2/conf/httpd.conf file at the end of the file, paste the following lines "as is"...

##redirect to SSL

<VirtualHost _default_:80>

RewriteEngine On

RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [L,R]

</VirtualHost>

Also, UN-comment out the 'rewrite module' shown below and found in the sys:/apache2/conf/httpd.conf file...

LoadModule rewrite_module modules/rewrite.nlm

-To be automatically redirected to a specific web service or default web page, do the following:

In the sys:/apache2/htdocs directory, create a new index.html file and add the html text below into it.  This new file redirects users to a specific web service or path.  Back up your default index.html and use this one instead.  The html text below is an example that uses '/iFolder' as the url path to be redirected to.  Type in the browser address bar "http://dns or ip address" and it will redirect to a new default page with the '/iFolder' path tacked onto the end of the URL.  ie. "http://dns or ip address/iFolder"

<html>

<head>

<script language="JavaScript">

</script>

<script language="JavaScript1.1">

</script>

</head>

<meta http-equiv="refresh" content="1;url=/iFolder" target="top">

<body bgcolor="white" marginwidth="0" marginheight="0"

leftmargin="0" topmargin="0" onLoad="doRedirect()">

</body>

</html>

In the place of '/iFolder' (in the example index.html redirect file above), type in '/netstorage' or '/gw/webacc' instead, to be redirected to a different web service as the default web page.