dbmv Posted March 25, 2007 Share Posted March 25, 2007 I changed the installation path within WHMCS (in gen. config)..to https://mydomain Is there a way to force whmcs to use https on every single page? 0 Quote Link to comment Share on other sites More sharing options...
xxkylexx Posted March 26, 2007 Share Posted March 26, 2007 You can do it via .htaccess rewrites: http://www.whmcs.com/forums/viewtopic.php?t=1107 0 Quote Link to comment Share on other sites More sharing options...
Gears Posted April 27, 2007 Share Posted April 27, 2007 RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) http-s-://%{HTTP_HOST}%{REQUEST_URI} I tried adding that to my .htaccess but when I go to the URL all I get is Firefox has detected that the server is redirecting the request for this address in a way that will never complete. 0 Quote Link to comment Share on other sites More sharing options...
Dominic Posted April 27, 2007 Share Posted April 27, 2007 This isn't necessary any more for the client side as whmcs will do it automatically (fFor the necessary pages) if you enter an SSL url in the config. Whmcs will redirect https back to http for the client side on the pages which don't require https, which is why you see that error. However you can put that file in the admin folder to force https only in the admin area 0 Quote Link to comment Share on other sites More sharing options...
Gears Posted April 27, 2007 Share Posted April 27, 2007 I would like to force ssl as soon as you log into the site 0 Quote Link to comment Share on other sites More sharing options...
eger Posted May 2, 2007 Share Posted May 2, 2007 Ace, I am using the way you showed and it works just fine in Firefox 1.5 and 2 for me. Are you sure that is not a typo where it says "http-s-://" ? Here is what my .htaccess file looks like in the root of my non-secure folder: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} It redirects anything that goes to the non-secure folder to my secure one (which actually contains whmcs) which forces the entire whmcs to be secure. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.