Skip to content

Commit

Permalink
Merge pull request #239 from opendata-swiss/feat/update-redirects-for…
Browse files Browse the repository at this point in the history
…-license-vocabulary

feat: Update redirects to current license vocabulary version
  • Loading branch information
bellisk authored Aug 26, 2024
2 parents 226a747 + ffd7d5a commit 7d6c492
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apache/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ RewriteCond %{HTTP:Accept} text/html
RewriteRule ^vocabulary/themes/$ /vocabulary/themes/20231122.html [L,R=303]

RewriteCond %{HTTP:Accept} application/rdf\+xml
RewriteRule ^vocabulary/licenses/.*$ /vocabulary/licenses/20210623.rdf [L,R=303]
RewriteRule ^vocabulary/licenses/.*$ /vocabulary/licenses/20240716.rdf [L,R=303]
RewriteCond %{HTTP:Accept} text/turtle
RewriteRule ^vocabulary/licenses/.*$ /vocabulary/licenses/20210623.ttl [L,R=303]
RewriteRule ^vocabulary/licenses/.*$ /vocabulary/licenses/20240716.ttl [L,R=303]
RewriteCond %{HTTP:Accept} text/html
RewriteRule ^vocabulary/licenses/$ /vocabulary/licenses/20210623.html [L,R=303]
RewriteRule ^vocabulary/licenses/$ /vocabulary/licenses/20240716.html [L,R=303]

RewriteCond %{HTTP:Accept} application/rdf\+xml
RewriteRule ^vocabulary/publishers/.*$ /vocabulary/publishers/20210623.rdf [L,R=303]
Expand All @@ -32,6 +32,6 @@ RewriteRule ^vocabulary/publishers/$ /vocabulary/publishers/20210623.html [L,R=3
RewriteCond %{HTTP:Accept} text/html
RewriteRule ^vocabulary/themes/(.*) /vocabulary/themes/20231122.html#$1 [L,NE,R=303]
RewriteCond %{HTTP:Accept} text/html
RewriteRule ^vocabulary/licenses/(.*) /vocabulary/licenses/20210623.html#$1 [L,NE,R=303]
RewriteRule ^vocabulary/licenses/(.*) /vocabulary/licenses/20240716.html#$1 [L,NE,R=303]
RewriteCond %{HTTP:Accept} text/html
RewriteRule ^vocabulary/publishers/(.*) /vocabulary/publishers/20210623.html#$1 [L,NE,R=303]

0 comments on commit 7d6c492

Please sign in to comment.