Skip to content

Commit

Permalink
Change ip address of target server
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Wallis committed May 1, 2019
1 parent 2b4dfa9 commit c326684
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions people/matt/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ RewriteEngine on

# profile is used in matt's WebID: https://w3id.org/people/matt/profile#me
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.*
RewriteRule ^profile$ http://163.172.187.51/matt/foaf.rdf [R=303,L]
RewriteRule ^profile$ http://51.15.69.110/matt/foaf.rdf [R=303,L]
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.*
RewriteRule ^profile$ http://163.172.187.51/matt/foaf.ttl [R=303,L]
RewriteRule ^profile$ http://51.15.69.110/matt/foaf.ttl [R=303,L]

# Other requests for RDF are also redirected to an appropriate foaf file:
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.*
RewriteRule ^$ http://163.172.187.51/matt/foaf.rdf [R=303,L]
RewriteRule ^$ http://51.15.69.110/matt/foaf.rdf [R=303,L]
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.*
RewriteRule ^$ http://163.172.187.51/matt/foaf.ttl [R=303,L]
RewriteRule ^$ http://51.15.69.110/matt/foaf.ttl [R=303,L]

# And everything else gets passed to the host:
RewriteRule ^(.*)$ http://163.172.187.51/matt/$1 [R=303,L]
RewriteRule ^(.*)$ http://51.15.69.110/matt/$1 [R=303,L]

0 comments on commit c326684

Please sign in to comment.