+ handle / {
+ rewrite * /index.html
+ header Link </about.jsonld>;rel=meta;type="application/ld+json"
+ header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
+ }
+
+ @iri {
+ path_regexp matcher ^/(?P<iri>[^/:]+:[^/]+)/?$
+ }
+
+ handle @iri {
+ handle @bare {
+ rewrite * /.lookup.xhtml
+ }
+
+ handle @slash {
+ redir * /{re.matcher.iri}
+ }
+ }
+