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, Florian Henry a écrit : > 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 main.inc: > dolibarr_main_force_https is on, we make a redirect to > https:///mydolibarr//index.php > 2013-01-03 13:38:07 WARN 158.255.96.200 nologin index --- End > access to /index.php (Warn: db disconnection forced, transaction depth > was 0) > 2013-01-03 13:38:17 INFO 158.255.96.200 nologin index main.inc: > dolibarr_main_force_https is on, we make a redirect to > https:///mydolibarr//index.php > 2013-01-03 13:38:17 WARN 158.255.96.200 nologin index --- End > access to /index.php (Warn: db disconnection forced, transaction depth > was 0) > > I've got it several times, and finnaly I got the error "An > internal server error occurred. Please try again later." due to loop > on the page I think. > > I set my Dolibarr on mutualize host. The host is provide with > plesk admin. I do not have all configuration access right. > > Do you have any idea about how solve this problem ? May be > SCRIPT_URI server variable not available in this service hosting > provider (RewriteEngine On is not present in httpd.conf)? > > Kind regards > -- > Florian HENRY > [email protected] > +33 6 03 76 48 07 > http://www.open-concept.pro > > > _______________________________________________ > Dolibarr-dev mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev -- Eldy (Laurent Destailleur). EMail: [email protected] Web: http://www.destailleur.fr Dolibarr (Project leader): http://www.dolibarr.org To make a donation for Dolibarr project via Paypal: [email protected] AWStats (Author) : http://awstats.sourceforge.net To make a donation for AWStats project via Paypal: [email protected] AWBot (Author) : http://awbot.sourceforge.net CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net
_______________________________________________ Dolibarr-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
