PDA

View Full Version : Warning if your using modrewrite HTTP to HTTPS



nka
09-04-07, 02:06 PM
Just to let you know, if you are using mod_rewrite to move your HTTP to HTTPS, set the "WHMCS System URL" to https: (don't use http:) or some part of your clients area won't work.

Leave the "WHMCS SSL System URL" empty.

MACscr
09-04-07, 03:34 PM
Correct. If its done incorrectly, your gong to get continuous looping and then timeouts.

nop
09-05-07, 07:56 PM
I actually have an issue where the continuous looping is ocurring when I set the SSL url. Anyone know what would cause this on a windows server? Windows does not have a .htaccess file so I don't anything set to redirect.


Correct. If its done incorrectly, your gong to get continuous looping and then timeouts.

MACscr
09-05-07, 08:01 PM
I actually have an issue where the continuous looping is ocurring when I set the SSL url. Anyone know what would cause this on a windows server? Windows does not have a .htaccess file so I don't anything set to redirect.


Correct. If its done incorrectly, your gong to get continuous looping and then timeouts.

You cant have the secure url and regular set to the same. I bet thats what your doing.

nop
09-05-07, 08:16 PM
No it's really weird. I have regular set to just an http address and ssl blank. As soon as I enter the ssl with https it loops when you go to a none secure page.

MACscr
09-05-07, 08:36 PM
No it's really weird. I have regular set to just an http address and ssl blank. As soon as I enter the ssl with https it loops when you go to a none secure page.

try setting your regular url as https and see how that works.

Gears
09-08-07, 05:57 AM
I have WHMCS System URL set to http
and
I have WHMCS SSL System URL set to https

mod_rewrite is on however I am not forcing https - https is only put into effect when visting client area details, submitting new ticket, ordering, etc

nka
09-12-07, 01:18 PM
I have WHMCS System URL set to http
and
I have WHMCS SSL System URL set to https

As I do now, else you'll have problmees to download PDF invoice !