# HG changeset patch # User Chris Cannam # Date 1509450430 0 # Node ID 2d859f5e3676a2b274e07cf40f538718d11c58aa # Parent 1e44d666ced104d9cd9998a4bb1ac7631b9bd5b9 ClioPatria instances now have path prefixes that match those of the instance within the main server, so that internal links work diff -r 1e44d666ced1 -r 2d859f5e3676 jamendo/.htaccess --- a/jamendo/.htaccess Fri Oct 13 09:23:49 2017 +0100 +++ b/jamendo/.htaccess Tue Oct 31 11:47:10 2017 +0000 @@ -3,8 +3,9 @@ RewriteBase /jamendo RewriteRule ^$ jamendo.html [L] -RewriteRule store/(.*) http://localhost:2105/$1 [P] -RewriteRule sparql/ http://localhost:2105/sparql/ [P] +RewriteRule store(.*) http://localhost:2105/jamendo/cliopatria/yasgui/index.html [P] +RewriteRule sparql/ http://localhost:2105/jamendo/cliopatria/sparql/ [P] +RewriteRule cliopatria/(.*) http://localhost:2105/jamendo/cliopatria/$1 [P] RewriteRule ^(.*)\.(html|css|mov)$ - [P] RewriteRule ^(.*)$ http://localhost:2104/$1 [P] diff -r 1e44d666ced1 -r 2d859f5e3676 magnatune/.htaccess --- a/magnatune/.htaccess Fri Oct 13 09:23:49 2017 +0100 +++ b/magnatune/.htaccess Tue Oct 31 11:47:10 2017 +0000 @@ -7,9 +7,10 @@ #RewriteRule ^(.*magnatune)$ $1/magnatune.html #RewriteRule ^$ magnatune.html -RewriteRule store/(.*) http://localhost:2020/$1 [P] -RewriteRule sparql/ http://localhost:2020/sparql/ [P] -# prevent the last rule firing for these file types : +RewriteRule store(.*) http://localhost:2020/magnatune/cliopatria/yasgui/index.html [P] +RewriteRule sparql/ http://localhost:2020/magnatune/cliopatria/sparql/ [P] +RewriteRule cliopatria/(.*) http://localhost:2020/magnatune/cliopatria/$1 [P] RewriteRule ^(.*)\.(html|css|mov)$ - [P] RewriteRule ^(.*)$ http://localhost:2021/$1 [P] +