diff --git a/README b/README index 97906b636c6..ac0363fb3b2 100644 --- a/README +++ b/README @@ -39,6 +39,10 @@ install this version like this: - Follow instructions provided by installer... +- If your web hosting does not allow you to place the folder "documents" outside + the site root, add the /dev/security/htaccess.txt in the root directory of + folder "documents" by renaming .htaccess + II - DOLIBARR UPGRADE --------------------- diff --git a/README-FR b/README-FR index 44b0900f867..ebf8388c5d7 100644 --- a/README-FR +++ b/README-FR @@ -41,6 +41,11 @@ installer Dolibarr avec cette version de la manière suivante: - Suivez les instructions fournis par l'installeur... +- Si votre hébergement ne permet pas de placer le répertoire "documents" en dehors + de la racine du site, ajoutez le fichier /dev/security/htaccess.txt à la racine + du répertoire documents en le renommant en .htaccess + + II - METTRE A JOUR DOLIBARR --------------------------- diff --git a/dev/security/README b/dev/security/README new file mode 100644 index 00000000000..8c0727be0aa --- /dev/null +++ b/dev/security/README @@ -0,0 +1,6 @@ +README (English) +-------------------------------- + +If your web hosting does not allow you to place the folder "documents" outside +the site root, add the htaccess.txt in the root directory of +folder "documents" by renaming .htaccess \ No newline at end of file diff --git a/dev/security/htaccess.txt b/dev/security/htaccess.txt new file mode 100644 index 00000000000..7d3aaf1a903 --- /dev/null +++ b/dev/security/htaccess.txt @@ -0,0 +1,2 @@ +Order allow,deny +Deny from all \ No newline at end of file