<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.6003" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI">
<DIV>Running Zendto 3.62-1 64bit Centos</DIV>
<DIV> </DIV>
<DIV>I got a SBS SSL cert from BulkRegister and followed the "<FONT size=2>Setting Up an SSL Website" instructions on the Zendto Website.</FONT></DIV>
<DIV> </DIV>
<DIV>I tested both http and https and no errors and the cert was valid</DIV>
<DIV> </DIV>
<DIV>I then put in the "Redirect Permanent" in the httpd.conf file and restarted apache and cleared the cache on my browser (Firefox) and restarted the browser.</DIV>
<DIV> </DIV>
<DIV>I then opened firefox and went the to http:// site and the firefox gave me this error message:</DIV>
<DIV> </DIV>
<DIV><snip></DIV>
<DIV>The page isn't redirecting properly</DIV>
<DIV> </DIV>
<DIV>Firefox has detected that the server is redirecting the request for this address in a way that will never complete.</DIV>
<DIV> </DIV>
<DIV> * This problem can sometimes be caused by disabling or refusing to accept cookies.</DIV>
<DIV> </DIV>
<DIV></snip></DIV>
<DIV> </DIV>
<DIV>
<DIV>I then opened the browser and went the to https:// site and the browser got the same error message. I also tried IE 8 with the same results.</DIV>
<DIV> </DIV>
<DIV>I double and triple checked every setting and finally disabled the "Redirect Permanent" in the httpd.conf file, restarted apache and cleared the cache on my Browsers.</DIV>
<DIV> </DIV>
<DIV>Manually browsing to http and https worked fine.</DIV>
<DIV> </DIV>
<DIV>I did some internet searching and finally found the below website.</DIV></DIV>
<DIV> </DIV>
<DIV><A href="http://marzoa.com/2009/03/03/redirect-from-http-to-https-ssl-on-same-server/">http://marzoa.com/2009/03/03/redirect-from-http-to-https-ssl-on-same-server/</A></DIV>
<DIV> </DIV>
<DIV>My solution based on the above URL:</DIV>
<DIV>in the httpd.conf file.</DIV>
<DIV>Do no use the "Redirect Permanent" statement.</DIV>
<DIV> </DIV>
<DIV>in the file: /etc/apache/conf/httpd..conf</DIV>
<DIV> </DIV>
<DIV>At the bottom of the file add these four lines.</DIV>
<DIV><note: there may be a better location for these lines</DIV>
<DIV> </DIV>
<DIV># Force http redirect to https<BR>RewriteEngine On<BR>RewriteCond %{HTTPS} off<BR>RewriteRule (.*) <A href="https://%{HTTP_HOST}%{REQUEST_URI">https://%{HTTP_HOST}%{REQUEST_URI</A>}</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>restart apache and http to https redirection now works perfectly.</DIV>
<DIV> </DIV>
<DIV>-Brad</DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>