Skip to content

Commit

Permalink
Merge pull request perma-id#1016 from hammar/master
Browse files Browse the repository at this point in the history
Updated REC to new host
  • Loading branch information
dgarijo authored May 31, 2018
2 parents f4a5e28 + 6cd7c9d commit b5a1540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rec/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RewriteEngine on
RewriteRule ^(\w+?)/(\w*?)$ https://w3id.org/rec/$1/2.2/$2 [R=303,NE,L]

# Redirect any versioned module request to serialised file
RewriteRule ^(\w+?)/([\d.]+)/(\w*)$ http://realestatecore.io/ontology/$2/$1.xml#$3 [R=303,NE,L]
RewriteRule ^(\w+?)/([\d.]+)/(\w*)$ https://raw.githubusercontent.com/RealEstateCore/rec/v$2/$1.xml#$3 [R=303,NE,L]

# Default redirect for any still unmatched patterns to REC website
RewriteRule ^.* http://realestatecore.io [R=303,NE,L]

0 comments on commit b5a1540

Please sign in to comment.