lighttpd follow up of #9155
[friendica.git/.git] / 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"