+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:
::
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;
}
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.