2 root * /home/USERNAME/status.site.example/public
9 path_regexp jsonld \.jsonld$
13 path_regexp atom \.atom$
18 not path_regexp \.jsonld$
19 not path_regexp \.atom$
23 expression {re.matcher.suffix} == ""
28 header Link </about.jsonld>;rel=meta;type="application/ld+json"
29 header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
33 path_regexp matcher ^/(?P<iri>[^/:]+:[^/]+)/?$
38 rewrite * /.lookup.xhtml
42 redir * /{re.matcher.iri}
47 rewrite * /.about.html
48 header Link </about.jsonld>;rel=meta;type="application/ld+json"
49 header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
54 rewrite /about.jsonld /about/index.jsonld
57 rewrite * /.statuses.html
58 header Link </statuses.jsonld>;rel=meta;type="application/ld+json"
59 header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
62 redir /statuses/ /statuses
64 rewrite /statuses.jsonld /statuses/index.jsonld
66 rewrite /statuses.atom /statuses/index.atom
69 path_regexp matcher ^/statuses/(?P<ym>\d{4}-\d{2})(?P<suffix>/[^/.]+)?(?:\..*|/)?$
70 not path_regexp ^/statuses/index[/.]?
76 rewrite * /.topic.html
77 header Link </statuses/{re.matcher.ym}.jsonld>;rel=meta;type="application/ld+json"
78 header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
82 redir * /statuses/{re.matcher.ym}
86 rewrite * /statuses/{re.matcher.ym}/index.jsonld
90 rewrite * /statuses/{re.matcher.ym}/index.atom
96 rewrite * /.status.html
97 header Link </statuses/{re.matcher.ym}.jsonld>;rel=meta;type="application/ld+json"
98 header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
102 redir * /statuses/{re.matcher.ym}{re.matcher.suffix}
108 rewrite * /.topics.html
109 header Link </topics.jsonld>;rel=meta;type="application/ld+json"
112 redir /topics/ /topics
114 rewrite /topics.jsonld /topics/index.jsonld
117 path_regexp matcher ^/topics/(?P<topic>[0-9A-Za-z_-]+)(?P<suffix>/[^/.]+)?(?:\..*|/)?$
118 not path_regexp ^/topics/index[/.]?
124 rewrite * /.topic.html
125 header Link </topics/{re.matcher.topic}.jsonld>;rel=meta;type="application/ld+json"
126 header Link </topics/{re.matcher.topic}.atom>;rel=alternate;type="application/atom+xml"
130 redir * /topics/{re.matcher.topic}
134 rewrite * /topics/{re.matcher.topic}/index.jsonld
138 rewrite * /topics/{re.matcher.topic}/index.atom
144 rewrite * /.status.html
145 header Link </topics/{re.matcher.topic}.jsonld>;rel=meta;type="application/ld+json"
146 header Link </topics/{re.matcher.topic}.atom>;rel=alternate;type="application/atom+xml"
150 redir * /topics/{re.matcher.topic}{re.matcher.suffix}
155 header Access-Control-Allow-Origin "*"
158 index index.xml index.xhtml index.html index.rdf index.txt