forcing http to go to https

David Jansen jansen at strw.leidenuniv.nl
Thu Jun 24 17:11:04 UTC 2004


On Thu, Jun 24, 2004 at 09:41:17AM -0500, Steven Stern wrote:
> If you connect to https://webmail.mydomain.com, it works just fine.  I want to
> make sure than any connection to http://mydomain.com/horde gets forced to use
> the https://webmail connection.
> 
> However, if I enable the rewrite for the horde directory, any attempt to
> access that directory results in an error, "Maximum redirection exceeded".
> I'm sure there's a problem in my thinking. Please lead me to the path of
> enlightenment.

I think the previous replies already answered your question. I just
wanted to point out an alternative:
create a index.php in the http web root containing just one line:
<?php header("Location: https:webmail.mydomain.com/"); ?>

(but I think the rewrite-method is cleaner, if you get it to work).

David Jansen





More information about the fedora-list mailing list