X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=docs%2Fde%2Fuser%2Finstallation.rst;h=0de6b6de8e67482ef3a3285fb14b42f79997f3ae;hb=6c79aaf4321e3eda4f4b0789677b66fd4bfd4ca1;hp=35a30f5240a6f960236198b1f19ca889a7bd51a1;hpb=e4cf672ccf61689ba28c2e89fc55f83167800b18;p=github%2Fwallabag%2Fwallabag.git diff --git a/docs/de/user/installation.rst b/docs/de/user/installation.rst index 35a30f52..0de6b6de 100644 --- a/docs/de/user/installation.rst +++ b/docs/de/user/installation.rst @@ -16,7 +16,7 @@ Composer installieren: :: - curl -s http://getcomposer.org/installer | php + curl -s https://getcomposer.org/installer | php Du kannst eine spezifische Anleitung `hier `__ finden. @@ -86,7 +86,7 @@ Führe dieses Kommando aus, um das neueste Paket herunterzuladen und zu entpacke .. 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 Du findest die `md5 Hashsumme des neuesten Pakets auf unserer Website `_. @@ -111,6 +111,12 @@ Virtualhosts Konfiguration von Apache ~~~~~~~~~~~~~~~~~~~~~~~~ +Vergiss nicht, die *rewrite* mod von Apache zu aktivieren. + +.. code-block:: bash + + a2enmod rewrite && systemctl reload apache2 + Angenommen du willst wallabag in das Verzeichnis ``/var/www/wallabag`` installieren und du willst PHP als Apache Modul nutzen, dann ist hier ein vhost für wallabag: :: @@ -187,6 +193,12 @@ Angenommen du willst wallabag in das Verzeichnis ``/var/www/wallabag`` installie 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; }