Changes

m
no edit summary
Line 441: Line 441:     
[[File:Avertissement tableau de bord.png|none|thumb|708x708px|The page '''My dashboard''' of Dolibarr. It currently presents warnings because we didn't create a file <code>install.lock</code> and that Dolibarr configuration file (<code>conf.php</code>) is writable by Web Server.|link=Special:FilePath/Avertissement_tableau_de_bord.png]]
 
[[File:Avertissement tableau de bord.png|none|thumb|708x708px|The page '''My dashboard''' of Dolibarr. It currently presents warnings because we didn't create a file <code>install.lock</code> and that Dolibarr configuration file (<code>conf.php</code>) is writable by Web Server.|link=Special:FilePath/Avertissement_tableau_de_bord.png]]
 +
 +
======Create file <code>install.lock</code>======
 +
The file <code>install.lock</code> is important, since it prevents that anyone can restart Dolibarr installation by accessing <code>http://localhost/dolibarr/install</code>.
 +
 +
If you only use Dolibarr on your computer and that this one is not accessible from network (local or Internet), it is not necessarily necessary to create the file but it is a good habit to take because you may have to "open" your Dolibarr installation later.
 +
 +
*With Windows File Explorer, go in '''Local disk (C:)''' then in directory '''dolibarr'''. Finally, go to the directory '''documents''' (<code>C:\dolibarr\documents</code>).
 +
*Create a file <code>install.lock</code> (right click then '''New''' > '''Text document''').
 +
*In your Internet browser, click again on link '''My dashboard''' in left column of Dolibarr and see that first warning about missing file <code>install.lock</code> has disappeared.
 +
 +
======Restricting Web Server write access to the file <code>conf.php</code>======
 +
 +
* With the '''File Explorer''' Windows, go to the '''Local Disk (C:)''' then to the directory '''Apache24'''. Go to the '''htdocs''' directory then to '''dolibarr''' and finally to '''conf''' (<code>C:\Apache24\htdocs\dolibarr\conf</code>).
 +
*Right click on the file <code>conf.php</code> and select the option '''Properties'''.
 +
*In the dialog box '''Properties of: conf.php''', check the box '''Read only''' for the option '' 'Attributes'' then click '''OK'''.
 +
*In your Internet Browser, click again on link '''My dashboard''' in left column of Dolibarr and see that second warning related to write accessibility to Web Server of file <code>conf.php</code> has disappeared.
 +
*[[File:Lecture seule fichier de configuration Dolibarr.png|none|thumb|636x636px|Enable attribute '''Read only''' for main configuration file <code>conf.php</code>of Dolibarr.|link=Special:FilePath/Lecture_seule_fichier_de_configuration_Dolibarr.png]].
676

edits