Thread: Force https
View Single Post
  #4  
Old 8th May 2012, 21:39
wichu wichu is offline
Junior Member
 
Join Date: Apr 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I would rather suggest that an option would be implemented into the user-interface to force SSL with this statement in the vhost-file:

Code:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R,L]
Reply With Quote