From 3df8439b984f58a851678fb7dfacd533e320900a Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 7 Sep 2020 14:37:24 +0200 Subject: [PATCH] lighttpd follow up of #9155 --- mods/sample-Lighttpd.config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/sample-Lighttpd.config b/mods/sample-Lighttpd.config index fb8ef0b2a4..c4ccc12665 100644 --- a/mods/sample-Lighttpd.config +++ b/mods/sample-Lighttpd.config @@ -105,6 +105,9 @@ $HTTP["scheme"] == "https" { "^\/([^\?]*)\?(.*)$" => "/index.php?pagename=$1&$2", "^\/(.*)$" => "/index.php?pagename=$1" ) + $HOST["url"] =~ "^/bin/" { + url.access.deny ( "" ) + } } else $HTTP["host"] !~ "(friendica.example.com|wordpress.example.com)" { server.document-root = "/var/www/wordpress"