58
edits
Dolibarr95 (talk | contribs) m (how to force https in conf.php) |
Dolibarr95 (talk | contribs) (Add table for $dolibarr_main_force_https) |
||
| Line 16: | Line 16: | ||
<source lang="php"> | <source lang="php"> | ||
//conf/conf.php file | //conf/conf.php file | ||
//$dolibarr_main_force_https | //example of $dolibarr_main_force_https configuration | ||
$dolibarr_main_force_https = '1';//to force https | $dolibarr_main_force_https = '1';//to force https | ||
</source> | |||
{| class=wikitable style="width:100%;" | |||
! scope="col"| Values | |||
! scope="col"| Description | |||
|- | |||
| style="width:50%;" | | |||
0 | |||
| style="width:50%;" | | |||
No forced redirect | |||
|- | |||
| style="width:50%;" | | |||
1 | |||
| style="width:50%;" | | |||
Force redirect to https, until SCRIPT_URI start with https into response | |||
|- | |||
| style="width:50%;" | | |||
2 | |||
| style="width:50%;" | | |||
Force redirect to https, until SERVER["HTTPS"] is 'on' into response | |||
|} | |||
'''Hacks and cracks''' | '''Hacks and cracks''' | ||
edits