Lighttpd

Example configurations:

$HTTP["url"] =~ "^/config" {
  url.access-deny = ( "" )
}
$HTTP["url"] =~ "^/system/includes" {
  url.access-deny = ( "" )
}
$HTTP["url"] =~ "^/system/admin/views" {
  url.access-deny = ( "" )
}

url.rewrite-once = (
  "^/(themes|system|vendor|content/images)/(.*)" => "$0",
  "^/(favicon.ico|robots.txt|humans.txt|sitemap.xml)$" => "$0",
  "^/(.*.php)" => "$0",

  # Everything else is handles by htmly
  "^/(.*)$" => "/index.php/$1"
)

Credit: HTMLy lighttpd config issue with image uploads