dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dolibarr-dev] Problem with main HTTPS force


From: Laurent Destailleur (eldy)
Subject: Re: [Dolibarr-dev] Problem with main HTTPS force
Date: Thu, 03 Jan 2013 20:46:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

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
address@hidden
+33 6 03 76 48 07
http://www.open-concept.pro


_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


-- 
Eldy (Laurent Destailleur).

EMail: address@hidden
Web: http://www.destailleur.fr

Dolibarr (Project leader): http://www.dolibarr.org
To make a donation for Dolibarr project via Paypal: address@hidden
AWStats (Author) : http://awstats.sourceforge.net
To make a donation for AWStats project via Paypal: address@hidden
AWBot (Author) : http://awbot.sourceforge.net
CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]