<VirtualHost *:80>
ServerName www.testname.com
ServerAlias testname.com testname1.com
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{SERVER_NAME}/ [R,L]
</VirtualHost>
ServerName www.testname.com
ServerAlias testname.com testname1.com
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{SERVER_NAME}/ [R,L]
</VirtualHost>
0 comments:
Post a Comment