I have been trying to get NetStorage running over HTTPS. I have
installed OES2, and have updated it using Yast to current as of today.

On other servers I have used a combination of RewriteRules in the Apache
conf as follows:

RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

RewriteRule ^/$ /NetStorage/ [R]

The first three should take any http:// request and just rewrite it as an
https:// request. The last rule just redirects access to / and changes
it to /NetStorage/.

Everything about this works, until I try to download a file. Then
instead of actually downloading the file, it downloads an HTML page that
says the file has been moved. The full text being:

<title>302 Found</title>
<p>The document has moved <a href="https://netstorage/oneNet/NetStorage/
<address>Apache/2.2.3 (Linux/SUSE) Server at netstorage Port 80</address>

If I remove the rules to change from http to https, everything works
fine. I just don't want http to even be an option for my users to access
this server.

So, what to do now?

Timothy M. Musa
Community Consolidated School District 93
Carol Stream, IL