Skip to content

Commit e02c921

Browse files
authored
Update .htaccess
fix scicat html url
1 parent e658f70 commit e02c921

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

scicat-sandbox/.htaccess

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+
2525
RewriteCond %{HTTP_ACCEPT} text/html [OR]
2626
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
2727
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
28-
RewriteRule ^scicat$ https://fs-ec.pages.desy.de/scicat/datamodel-sandbox/pizza/html/ [R=303,L]
28+
RewriteRule ^scicat$ https://fs-ec.pages.desy.de/scicat/datamodel-sandbox/scicat/html [R=303,L]
2929

3030
# Rewrite rule to serve RDF/XML content
3131
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.* [OR]
@@ -44,7 +44,7 @@ RewriteRule ^scicat$ https://fs-ec.pages.desy.de/scicat/datamodel-sandbox/scicat
4444

4545
# Default response
4646
# Rewrite rule to serve the RDF/XML content from the diso IRI by default
47-
RewriteRule ^scicat$ https://fs-ec.pages.desy.de/scicat/datamodel-sandbox/pizza/html/ [R=303,L]
47+
RewriteRule ^scicat$ https://fs-ec.pages.desy.de/scicat/datamodel-sandbox/scicat/html [R=303,L]
4848

4949

5050
# pizza
@@ -74,9 +74,7 @@ RewriteRule ^pizza$ https://fs-ec.pages.desy.de/scicat/datamodel-sandbox/pizza/p
7474
# Default response
7575
# Rewrite rule to serve the RDF/XML content from the diso IRI by default
7676
RewriteRule ^pizza$ https://fs-ec.pages.desy.de/scicat/datamodel-sandbox/pizza/html/ [R=303,L]
77-
78-
79-
77+
8078

8179
# sandbox home
8280
#==============

0 commit comments

Comments
 (0)