diff --git a/doc/ADMIN.md b/doc/ADMIN.md index 5dc0377..dae1579 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -21,7 +21,7 @@ If you forgot your SFTP password, you can change it in YunoHost's webadmin inter ### 403 and 404 error handling -The web server configuration supports http error handling `403` and `404` (access denied and resource not found), just add an `error` folder in the `www` directory, then your `403.html` and `404.html` files. +The web server configuration supports http error handling `403` and `404` (access denied and resource not found). Create an `error` folder at `__INSTALL_DIR__/www/error`, and put your `403.html` and `404.html` files in there. ### Customizing the nginx configuration diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index 292e61d..a334a3a 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -25,7 +25,7 @@ Si vous n'arrivez pas à vous connecter et que vous avez vérifié que le nom d' ### Gestion des erreurs 403 et 404 -La configuration du serveur web prend en charge la gestion des erreurs http `403` et `404` (accès refusé et ressource non trouvé), il suffit de d'ajouter un dossier `error` dans le repertoire `www` puis vos fichiers `403.html` et `404.html`. +La configuration du serveur web prend en charge la gestion des erreurs http `403` et `404` (accès refusé et ressource non trouvée). Ajoutez un dossier `error` à l'emplacement `__INSTALL_DIR__/www/error`, puis ajoutez-y vos fichiers `403.html` et `404.html`. ### Personnaliser la configuration nginx