1 2 $HTTP["host"] =~ "^.*\.([^.]+\.[^.:]+)(:|^)" { 3 url.rewrite = ( "^/images/(.*)" => "/%1/images/$1", 4 "^/files/(.*)" => "/%1/files/$1", 5 "^/$" => "index.html", "^([^.]+)$" => "$1.html") 6 }
provided by Dreamer3 and annotated here so I can quit bugging him about it.