]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - docs/de/user/installation.rst
Merge pull request #2985 from etiess/patch-2
[github/wallabag/wallabag.git] / docs / de / user / installation.rst
index 2bb86269ba608c55317fc85f982a444d31273fa4..0de6b6de8e67482ef3a3285fb14b42f79997f3ae 100644 (file)
@@ -7,7 +7,8 @@ Voraussetzungen
 wallabag ist kompatibel mit PHP >= 5.5, inkl. PHP 7.
 
 .. note::
-Pour installer wallabag facilement, nous avons créé un ``Makefile``, vous avez donc besoin d'avoir installé l'outil ``make``.
+
+    To install wallabag easily, we create a ``Makefile``, so you need to have the ``make`` tool.
 
 wallabag nutzt eine große Anzahl an Bibliotheken, um zu funktionieren. Diese Bibliotheken müssen mit einem Tool namens Composer installiert werden. Du musst es installieren sofern du es bisher noch nicht gemacht hast.
 
@@ -15,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 <https://getcomposer.org/doc/00-intro.md>`__ finden.
 
@@ -85,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 <https://www.wallabag.org/pages/download-wallabag.html>`_.
 
@@ -110,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:
 
 ::
@@ -186,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;
     }