Hello,

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:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://netstorage/oneNet/NetStorage/
DriveS@SHARED/districtoffice.tech/Technology/Documents/Computer%20Startup%
20Times.xls">here</a>.</p>
<hr>
<address>Apache/2.2.3 (Linux/SUSE) Server at netstorage Port 80</address>
</body></html>

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
http://www.ccsd93.com/