lighttpd follow up of #9155
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 7 Sep 2020 12:37:24 +0000 (14:37 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 7 Sep 2020 12:37:24 +0000 (14:37 +0200)
mods/sample-Lighttpd.config

index fb8ef0b..c4ccc12 100644 (file)
@@ -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"