[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: forcing http to go to https



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]