Mercurial > hg > dbtune-site
changeset 1:2d859f5e3676
ClioPatria instances now have path prefixes that match those of the instance within the main server, so that internal links work
author | Chris Cannam |
---|---|
date | Tue, 31 Oct 2017 11:47:10 +0000 |
parents | 1e44d666ced1 |
children | 76a27922be53 |
files | jamendo/.htaccess magnatune/.htaccess |
diffstat | 2 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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]
--- 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] +