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
 
  39                         header Cache-Control max-age=0
 
  43                         redir * /{re.matcher.iri}
 
  48                 rewrite * /.about.html
 
  49                 header Link </about.jsonld>;rel=meta;type="application/ld+json"
 
  50                 header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
 
  55         rewrite /about.jsonld /about/index.jsonld
 
  58                 rewrite * /.statuses.html
 
  59                 header Link </statuses.jsonld>;rel=meta;type="application/ld+json"
 
  60                 header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
 
  63         redir /statuses/ /statuses
 
  65         rewrite /statuses.jsonld /statuses/index.jsonld
 
  67         rewrite /statuses.atom /statuses/index.atom
 
  70                 path_regexp matcher ^/statuses/(?P<ym>\d{4}-\d{2})(?P<suffix>/[^/.]+)?(?:\..*|/)?$
 
  71                 not path_regexp ^/statuses/index[/.]?
 
  77                                 rewrite * /.topic.html
 
  78                                 header Link </statuses/{re.matcher.ym}.jsonld>;rel=meta;type="application/ld+json"
 
  79                                 header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
 
  83                                 redir * /statuses/{re.matcher.ym}
 
  87                                 rewrite * /statuses/{re.matcher.ym}/index.jsonld
 
  91                                 rewrite * /statuses/{re.matcher.ym}/index.atom
 
  97                                 rewrite * /.status.html
 
  98                                 header Link </statuses/{re.matcher.ym}.jsonld>;rel=meta;type="application/ld+json"
 
  99                                 header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
 
 103                                 redir * /statuses/{re.matcher.ym}{re.matcher.suffix}
 
 109                 rewrite * /.topics.html
 
 110                 header Link </topics.jsonld>;rel=meta;type="application/ld+json"
 
 113         redir /topics/ /topics
 
 115         rewrite /topics.jsonld /topics/index.jsonld
 
 118                 path_regexp matcher ^/topics/(?P<topic>[0-9A-Za-z_-]+)(?P<suffix>/[^/.]+)?(?:\..*|/)?$
 
 119                 not path_regexp ^/topics/index[/.]?
 
 125                                 rewrite * /.topic.html
 
 126                                 header Link </topics/{re.matcher.topic}.jsonld>;rel=meta;type="application/ld+json"
 
 127                                 header Link </topics/{re.matcher.topic}.atom>;rel=alternate;type="application/atom+xml"
 
 131                                 redir * /topics/{re.matcher.topic}
 
 135                                 rewrite * /topics/{re.matcher.topic}/index.jsonld
 
 139                                 rewrite * /topics/{re.matcher.topic}/index.atom
 
 145                                 rewrite * /.status.html
 
 146                                 header Link </topics/{re.matcher.topic}.jsonld>;rel=meta;type="application/ld+json"
 
 147                                 header Link </topics/{re.matcher.topic}.atom>;rel=alternate;type="application/atom+xml"
 
 151                                 redir * /topics/{re.matcher.topic}{re.matcher.suffix}
 
 157                 Access-Control-Allow-Origin "*"
 
 158                 ?Cache-Control max-age=3600
 
 162                 index index.xml index.xhtml index.html index.rdf index.txt