I am trying to set this up, so my client (hosted on Network Solutions) is forced to login securely when accessing the admin folder. I tried the .htaccess example provided on the CMSms site, (along with some others) but can't get them working. I seem to get into some loop, or if I don't include a "slash" at the end, it rewrites to some local (looking) path.
Network Solutions supports .htaccess for the site, but not this? Could I do it another way? Something inserted in the login.php file?
Code: Select all
# force all access to /admin to SSL protected page
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}