force ssl


Uncategorized

Below are three examples of how to force SSL on your ASP or ASP.NET site.web.configIf your website has the IIS Rewrite Module available*, you can use rewrite rules in your web.config to force SSL on all pages:<?xml version="1....
0 Comments
Filed in: Cloud Sites

Linux and PHP

Below are two samples of what you can use in a .htaccess to force SSL on your PHP site:#Force SSL on entire site
RewriteEngine On
RewriteBase /
RewriteCond %{ENV:HTTPS} !on [NC]
RewriteRule ^(.*)$ https://(YOURDOMAIN)/$1 [R,L]

#...
9 Comments
Filed in: Cloud Sites

SSL

Below are two samples of what you can use in a .htaccess to force SSL on your PHP site:#Force SSL on entire site
RewriteEngine On
RewriteBase /
RewriteCond %{ENV:HTTPS} !on [NC]
RewriteRule ^(.*)$ https://(YOURDOMAIN)/$1 [R,L]

#...
9 Comments
Filed in: Cloud Sites