[horde] convert to ssl
Daniel A. Ramaley
daniel.ramaley at DRAKE.EDU
Mon Feb 6 09:24:07 PST 2006
On Monday 06 February 2006 09:59, Peter Marshall wrote:
>I was wondering if it is overly difficult to convert my webmail from
>standard http, to https? I can not have the site down for very long,
>and was just wondering if anyone has tried to do this before.
>
>Is it a configuration within Horde, or within Apache ?
This is part of Apache configuration. You'll have to generate a
certificate and put it in the appropriate place. As far as the changes
to Apache's configuration, below is an excerpt from my own notes on
setting up a Horde-based webmail server. This was done on RHEL 4; path
names for other distributions may of course vary. You'll also have to
do things differently if you are running more than one virtual host on
the server.
Edit /etc/httpd/conf.d/ssl.conf and change all the logging lines to not
create special ssl logs:
ErrorLog logs/error_log
TransferLog logs/access_log
#CustomLog logs/ssl_request_log \
# "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
To direct all traffic to the secured site,
edit /etc/httpd/conf/httpd.conf and add these lines within the
<Directory "/var/www/html"> section:
# Added to force all traffic to use SSL
RewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
------------------------------------------------------------------------
Dan Ramaley Dial Center 118, Drake University
Network Programmer/Analyst 2407 Carpenter Ave
+1 515 271-4540 Des Moines IA 50311 USA
More information about the horde
mailing list