lighttpd follow up of #9155

This commit is contained in:
Tobias Diekershoff 2020-09-07 14:37:24 +02:00
parent 2f168d17f4
commit 3df8439b98
1 changed files with 3 additions and 0 deletions

View File

@ -105,6 +105,9 @@ $HTTP["scheme"] == "https" {
"^\/([^\?]*)\?(.*)$" => "/index.php?pagename=$1&$2", "^\/([^\?]*)\?(.*)$" => "/index.php?pagename=$1&$2",
"^\/(.*)$" => "/index.php?pagename=$1" "^\/(.*)$" => "/index.php?pagename=$1"
) )
$HOST["url"] =~ "^/bin/" {
url.access.deny ( "" )
}
} }
else $HTTP["host"] !~ "(friendica.example.com|wordpress.example.com)" { else $HTTP["host"] !~ "(friendica.example.com|wordpress.example.com)" {
server.document-root = "/var/www/wordpress" server.document-root = "/var/www/wordpress"