Add some hint (in a comment) on how to configure redirects to https.

This commit is contained in:
Hans-Jürgen Tappe 2011-10-30 21:11:32 +00:00
parent abdcd1ca29
commit 2278405af0

View File

@ -44,8 +44,21 @@ RedirectMatch ^(/principals/users/.*)$ /egroupware/groupdav.php$1
Order allow,deny
Deny from all
</Files>
# 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]
</Directory>
# Enable the following block in order to redirect setup activities to HTTPS:
#<Directory /usr/share/egroupware/setup/>
# RewriteEngine On
# RewriteCond %{HTTPS} !^on$
# RewriteRule .* https://%{HTTP_HOST}/%{REQUEST_URI} [L,R]
#</Directory>
<Directory /usr/share/egroupware/phpsysinfo/>
php_admin_value open_basedir /
</Directory>