View | Details | Raw Unified | Return to bug 40121
Collapse All | Expand All

(-)a/services/univention-apache/conffiles/etc/apache2/mods-available/ssl.conf (-2 / +2 lines)
 Lines 93-99   print 'SSLCipherSuite %s' % configRegistry.get('apache2/ssl/ciphersuite', 'HIGH: Link Here 
93
@!@
93
@!@
94
if configRegistry.is_true("apache2/force_https"):
94
if configRegistry.is_true("apache2/force_https"):
95
	print 'RewriteEngine on'
95
	print 'RewriteEngine on'
96
	print 'RewriteCond %{HTTPS} !=on'
96
	print 'RewriteCond %{HTTPS} off'
97
	print 'RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]'
97
	print 'RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R=301,L]'
98
	print
98
	print
99
@!@
99
@!@

Return to bug 40121