<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for that. It's always worked just fine for me, but obviously
not for everyone.<br>
I have changed both the Ubuntu and CentOS instructions on the site
to use the recipe you have given.<br>
<br>
Cheers!<br>
Jules.<br>
<br>
On 09/09/2010 23:02, Brad Beckenhauer wrote:
<blockquote cite="mid:4C89131F0200006800061C09@smtp.aafp.org"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta content="MSHTML 6.00.2900.6003" name="GENERATOR">
<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 <a class="moz-txt-link-freetext" href="http://">http://</a> 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 <a class="moz-txt-link-freetext" href="https://">https://</a> 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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="https://%%7BHTTP_HOST%7D%%7BREQUEST_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>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM
</pre>
</body>
</html>