Hi
I want redirect all non-ssl query to https on my domain , all code working on apache but on lsws not working even cpanel code :
Can you duide about this ? and tell me whay almost code working on apache but not working on lsws ?
Thanks
I want redirect all non-ssl query to https on my domain , all code working on apache but on lsws not working even cpanel code :
Code:
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-SSL} !on
RewriteCond %{HTTP_HOST} ^domain\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.domain\.com$
RewriteRule ^(.*)$ "https\:\/\/domain\.com\/$1" [R=301,L]
Can you duide about this ? and tell me whay almost code working on apache but not working on lsws ?
Thanks