Problem is into https detection that depends on environment.
To solve this some change were made into recent version of Dolibarr.
You can now (dev and future 3.3) test the force https with
$dolibarr_main_force_https=2
or
$dolibarr_main_force_https=3
if value 1 fails.
Le 03/01/2013 13:59, Floria
Hi,
I've encountered this in the past.
I don't remember the specifics but I think it was due to HTTP to HTTPS
redirection being already set in Apache's configuration.
Check that you don't already enforce HTTPS somewhere else.
Cheers and happy new year to everyone ;)
2013/1/3 Florian Henry
Hello all,
I've got a problem, with the option in conf file
$dolibarr_main_force_https='1';
When I set it to 1, the server always loop on index page (cause of
redirection in main.inc.php). In log file I have this trace :
2013-01-03 13:38:07 INFO 158.255.96.200 nologin index m