Hi There,
This may be a basic question, but how can I force SSL on the admin login?
Thanks,
Michael
Hi There,
This may be a basic question, but how can I force SSL on the admin login?
Thanks,
Michael
Create a .htaccess file in the root admin folder.
In it put:
Also, you might want to create another .htaccess file in the root of your site and in it putCode:RewriteEngine On RewriteCond %{HTTPS} off RewriteCond %{REQUEST_URI} !^clientsadd.php$ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
The reason for the second one is that you can open up all of your custom template files and make direct copies of them. This fix will prevent that.Code:<Files "*.tpl"> Order Allow,Deny Deny from All </Files>
█ Brett
thanks
that was what I was looking for
thanks
Check this thread:
Code:http://forum.whmcs.com/showthread.php?t=8481
Nice one. Very handy. Thanks guys!![]()
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI}whmcs/admin
RewriteRule ^(.*)$ https://www.yourdomain.co.uk/$1 [R,L]
This works perfect with our EV
Kind Regards, Richard Copestake, Managing Director
Bionic Hosting Ltd | UK Web Hosting | UK Reseller Hosting | Toys FOr Joys
Tel: 0845 074 3297 | Fax: 01452 357971
Thankyou, works great![]()
█ NC-Designs Hosting Solutions Ltd | Affordable Hosting Solutions Since 2008
█ LiteSpeed cPanel Web Hosting | Up to 9x Faster Than Standard Web Hosts
█ Domain Name Registration | Domain Names with an easy management panel