Răsfoiți Sursa

Merge branch 'https'

seavenois 9 ani în urmă
părinte
comite
211d37e29b
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      www/.htaccess

+ 2 - 2
www/.htaccess

@@ -56,8 +56,8 @@ RewriteRule ^API/V([{0-9}]+)/help/([A-Z\-a-z0-9{3,}]+)$ /API/V$1/help/$2.php [NC
 RewriteRule ^API/V([{0-9}]+)/help/([A-Z\-a-z0-9{3,}]+)/$ /API/V$1/help/$2.php [L,NC]
 RewriteRule ^API/V([{0-9}]+)/help/([A-Z\-a-z0-9{3,}]+)/$ /API/V$1/help/$2.php [L,NC]
 
 
 #Force https TODO
 #Force https TODO
-#RewriteCond %{HTTPS} !=on
-#RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
+RewriteCond %{HTTPS} !=on
+RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
 
 
 # BEGIN Cache-Control Headers
 # BEGIN Cache-Control Headers
 <IfModule mod_expires.c>
 <IfModule mod_expires.c>