X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=docs%2Ffr%2Fuser%2Finstallation.rst;h=9dcb0efbd83218eefe1d91aa9dd4273f11963c12;hb=6ae579e43f6a4ffe607a6361191366410d19f806;hp=4f94d6c87ac3741c324957a7f6dc5bc25f8615d9;hpb=99731f0bb1f6fd2815eeb9af504ce86df927657b;p=github%2Fwallabag%2Fwallabag.git diff --git a/docs/fr/user/installation.rst b/docs/fr/user/installation.rst index 4f94d6c8..9dcb0efb 100644 --- a/docs/fr/user/installation.rst +++ b/docs/fr/user/installation.rst @@ -4,7 +4,7 @@ Installer wallabag Pré-requis ------------ -wallabag est compatible avec PHP >= 5.5, PHP 7 inclus. +wallabag est compatible avec **PHP >= 5.6**, PHP 7 inclus. .. note:: @@ -16,7 +16,7 @@ Installation de Composer : :: - curl -s http://getcomposer.org/installer | php + curl -s https://getcomposer.org/installer | php Vous pouvez trouver des instructions spécifiques `ici (en anglais) `__. @@ -82,7 +82,7 @@ Exécutez cette commande pour télécharger et décompresser l'archive : .. code-block:: bash - wget http://wllbg.org/latest-v2-package && tar xvf latest-v2-package + wget https://wllbg.org/latest-v2-package && tar xvf latest-v2-package Vous trouverez `le hash md5 du dernier package sur notre site `_. @@ -107,6 +107,12 @@ Virtual hosts Configuration avec Apache ~~~~~~~~~~~~~~~~~~~~~~~~~ +N'oubliez pas d'activer le mod *rewrite* de Apache + +.. code-block:: bash + + a2enmod rewrite && systemctl reload apache2 + En imaginant que vous vouliez installer wallabag dans le dossier ``/var/www/wallabag`` et que vous utilisiez PHP comme un module Apache, voici un vhost pour wallabag : :: @@ -147,6 +153,24 @@ En imaginant que vous vouliez installer wallabag dans le dossier ``/var/www/wall CustomLog /var/log/apache2/wallabag_access.log combined +.. tip:: Pour Apache 2.4, dans la section `` vous devez remplacer les directives suivantes : + +:: + + AllowOverride None + Order Allow,Deny + Allow from All + + +par + +:: + + Require All granted + + + + Après que vous ayez rechargé/redémarré Apache, vous devriez pouvoir avoir accès à wallabag à l'adresse http://domain.tld. Configuration avec Nginx @@ -183,6 +207,12 @@ En imaginant que vous vouliez installer wallabag dans le dossier ``/var/www/wall internal; } + # return 404 for all other php files not matching the front controller + # this prevents access to other php files you don't want to be accessible. + location ~ \.php$ { + return 404; + } + error_log /var/log/nginx/wallabag_error.log; access_log /var/log/nginx/wallabag_access.log; }