From 2278405af0f29b126621463db381e09281a8d661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans-J=C3=BCrgen=20Tappe?= Date: Sun, 30 Oct 2011 21:11:32 +0000 Subject: [PATCH] Add some hint (in a comment) on how to configure redirects to https. --- doc/rpm-build/apache.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/rpm-build/apache.conf b/doc/rpm-build/apache.conf index 3d4b2a07f3..d0ac6aac48 100644 --- a/doc/rpm-build/apache.conf +++ b/doc/rpm-build/apache.conf @@ -44,8 +44,21 @@ RedirectMatch ^(/principals/users/.*)$ /egroupware/groupdav.php$1 Order allow,deny Deny from all + # Enable the following block in order to redirect logins to HTTPS: + #RewriteEngine On + #RewriteCond %{HTTPS} !^on$ + #RewriteCond %{SCRIPT_FILENAME} login\.php [OR] + #RewriteCond %{AUTH_TYPE} Basic [NC] + #RewriteRule .* https://%{HTTP_HOST}/%{REQUEST_URI} [L,R] +# Enable the following block in order to redirect setup activities to HTTPS: +# +# RewriteEngine On +# RewriteCond %{HTTPS} !^on$ +# RewriteRule .* https://%{HTTP_HOST}/%{REQUEST_URI} [L,R] +# + php_admin_value open_basedir /