From: Tobias Diekershoff Date: Mon, 7 Sep 2020 12:37:24 +0000 (+0200) Subject: lighttpd follow up of #9155 X-Git-Tag: 2020.09~1^2~62^2 X-Git-Url: https://reisub.nsupdate.info/git/?a=commitdiff_plain;h=3df8439b984f58a851678fb7dfacd533e320900a;p=friendica.git%2F.git lighttpd follow up of #9155 --- 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"