X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mods%2Fsample-Lighttpd.config;h=1f37815f631358da1a84a25611759c77d16cb1e5;hb=c7b8de4fe7a0b323bdfbd8ebbed09208def794d8;hp=fb8ef0b2a4fbdb001cf22bcb4487dfbd04e0202d;hpb=409d9df4af3eabbef587873c6c225605b0ff3b95;p=friendica.git diff --git a/mods/sample-Lighttpd.config b/mods/sample-Lighttpd.config index fb8ef0b2a4..1f37815f63 100644 --- a/mods/sample-Lighttpd.config +++ b/mods/sample-Lighttpd.config @@ -30,7 +30,7 @@ One can solve the issue by adding server.reject-expect-100-with-417 = "disable" -to the lighttpd configuratiion file (e.g. in the beginning with the +to the lighttpd configuration file (e.g. in the beginning with the other 'server.xxx' settings. ---------------( config starts )----------------- @@ -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"