Lucas Posted October 17, 2007 Share Posted October 17, 2007 How can I have https work all the time instead of sometimes going back to http or https I tried using this ReWrite module but it starts timing out or so on: RewriteEngine OnRewriteCond %{HTTPS} off RewriteRule (.*) https//%{HTTP_HOST}%{REQUEST_URI} (yes it's missing :, couldn't post it until I have 15+ posts) 0 Quote Link to comment Share on other sites More sharing options...
Jordan Posted October 17, 2007 Share Posted October 17, 2007 If you're referring to adding the https: url in WHMCS, the reason why it doesn't enforce the secure connection on some pages, is simply because it just isn't needed. But if you really do feel the need to encrypt all pages under your site then you can use this: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L] Don't quote me on this, but I think the method you were using was to force HTTPS on webmail. 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.