[imp] Re: root directory porblems in apache 2 with ssl enabled

Sergey sergeyli at pisem.net
Wed Dec 4 16:34:34 2002


Here's what I use:

RewriteEngine   On
RewriteLog      /var/log/httpd/rewrite.log
RewriteLogLevel 0
RewriteCond     %{HTTPS} !=on
RewriteRule     ^(.*)$ https://%{HTTP_HOST}$1 [R,L]

This will redirect all http:// traffic to the corresponding https:// URLs.

Ian Miller wrote:
> I and trying to setup horde so that all a user has to do is type
> https://your.domain.edu and it will go right to the horde login 
> but at current 
> I have 
> https://your.domain.edu/horde
> also 
> I would like to set it up so that if a user types in http:// it will 
> go to https:// automatically 
> 





More information about the imp mailing list