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

Re: forcing http to go to https



Am Do, den 24.06.2004 schrieb Steven Stern um 16:41:

> I'm using IMP for web email and I want to force all connections to go via SSL.

I do the same.

> Here's the relevant parts of httpd.conf:
> 
> Alias /horde/ /var/www/html/horde/
> 
> <VirtualHost *:443>
>    ServerAdmin  webmaster mydomain com
>    DocumentRoot /var/www/html/horde/
>    ServerName webmail.mydomain.com
>    Options Indexes FollowSymLinks
> </VirtualHost>
> 
> #<Directory /var/www/html/horde/>
> #    RewriteEngine       on
> #    RewriteCond         %{SERVER_PORT} !=443
> #    RewriteRule         ^.* - [F]
> #    ErrorDocument       403 https://webmail.mydomain.com
> #</Directory>
> 
> 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"=

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