- Edited
Is there any way/option to force SSL usage even if a user browses to http:// (or any staff/managers using scp view)?
Is there any way/option to force SSL usage even if a user browses to http:// (or any staff/managers using scp view)?
Is there any way/option to force SSL usage even if a user browses to http:// (or any staff/managers using scp view)?
Untested:
Try and put the following in your .htaccess file
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{SERVER_PORT} =80
RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI}
If your not running Apache you can google "IIS force ssl redirect" you will get a number of results for replicating this type of behavior for Microsoft IIS 5, 6, 7, etc. If you are running 7+ you might want to add URL Rewrite and web.config to the query.
Untested:Try and put the following in your .htaccess file
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{SERVER_PORT} =80
RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI}
That worked perfectly, thanks!
Perfect this was just what I was after..