mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Add some hint (in a comment) on how to configure redirects to https.
This commit is contained in:
parent
abdcd1ca29
commit
2278405af0
@ -44,8 +44,21 @@ RedirectMatch ^(/principals/users/.*)$ /egroupware/groupdav.php$1
|
|||||||
Order allow,deny
|
Order allow,deny
|
||||||
Deny from all
|
Deny from all
|
||||||
</Files>
|
</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>
|
</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/>
|
<Directory /usr/share/egroupware/phpsysinfo/>
|
||||||
php_admin_value open_basedir /
|
php_admin_value open_basedir /
|
||||||
</Directory>
|
</Directory>
|
||||||
|
Loading…
Reference in New Issue
Block a user