Forcing users through SSL with NetStorage on NetWare 6.5

Environment

Situation

When a user hits a NetStorage web server on port 80 (non
secure), it is desired to have the user be redirected to an HTTPS
(or an SSL-encrypted connection). This document describes the
process.

Resolution

This TID assumes that NetStorage has been configured for SSL
access, for example, a user is able to connect to
https://server.com/NetStorage.

Ensure that the Apache Rewrite module is loaded. This is
disabled by default. To ensure the rewrite module is loaded, remove
the remark (pound sign) from the following line in HTTPD.CONF file
(found in SYS:\Apache2\conf) :

LoadModule rewrite_module modules/rewrite.nlm

If the line doesn't exist in the file, add it near the other
LoadModule lines.

The next phase is to enable the rewrite section. Search
the httpd.conf for a line that reads :

<
VirtualHost _default_:80>

If it does not exist, add the following two lines to the end of
the file :

<
VirtualHost _default_:80>

Configure the actual rewrite by using the rewrite extension to
Apache. Add the following section to the VirtualHost
_default_:80 section (between the virtualhost lines) :