Re: How to redirect http to https on same server?

Aaron Dalton <[email protected]>
Newsgroups gmane.comp.apache.mod-ssl.user
Message-ID <[email protected]>
On Thu, 11 Oct 2007, Bernard Barton wrote:

> Thanks for all the responses.  But no matter what I do or where I place
> a Rewrite or Redirect, I get the following error in Firefox:
>
> ((("The page isn't redirecting properly
>
> Firefox has detected that the server is redirecting the request for this
> address in a way that will never complete.
>

Where are you attempting to put the RedirectPermanent directive?  I assume 
you have a plain virtual host entry for http://myhost.  In that 
<VirtualHost> container you put the RedirectPermanent / https://myhost 
(which is of course in it's own <VirtualHost> container with all the ssl 
stuff).  Can you copy your http://myhost config?

-- 
Aaron Dalton
Super Duper Games
http://superdupergames.org
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [email protected]
Automated List Manager                            [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.