-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
migrated from Trac, where originally posted by clange on 19-Mar-2012 10:40pm
It is not currently possible to access the RDF version of the OpenMath CDs via their canonical URIs (i.e. in a linked data compliant way):
$ wget --header='Accept: application/rdf+xml' -S -O - http://www
.openmath.org/cd/arith1
--2012-03-19 23:44:32-- http://www.openmath.org/cd/arith1
Resolving www.openmath.org... 134.96.191.184
Connecting to www.openmath.org|134.96.191.184|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 303 See Other
Date: Mon, 19 Mar 2012 22:44:30 GMT
Server: Apache/2.2.3 (Unix) PHP/5.2.0
Location: http://www-back.activemath.org/cd/arith1.rdf
Content-Length: 251
Content-Type: text/html; charset=iso-8859-1
Via: 1.0 openmath.org
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Location: http://www-back.activemath.org/cd/arith1.rdf [following]
--2012-03-19 23:44:33-- http://www-back.activemath.org/cd/arith1.rdf
Resolving www-back.activemath.org... 134.96.184.245
Connecting to www-back.activemath.org|134.96.184.245|:80... failed: Connection timed out.
Retrying.
On the other hand, accessing them via their actual physical URI works (same for the *.ocd and *.xhtml files):
$ wget --header='Accept: application/rdf+xml' -S -O - http
://www.openmath.org/cd/arith1.rdf
--2012-03-19 23:46:15-- http://www.openmath.org/cd/arith1.rdf
Resolving www.openmath.org... 134.96.191.184
Connecting to www.openmath.org|134.96.191.184|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Mon, 19 Mar 2012 22:46:12 GMT
Server: Apache/2.2.3 (Unix) PHP/5.2.0
Last-Modified: Tue, 30 Aug 2011 15:17:29 GMT
ETag: "b94459-1080a-82871440"
Accept-Ranges: bytes
Content-Length: 67594
Content-Type: application/rdf+xml
Via: 1.0 openmath.org
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Length: 67594 (66K) [application/rdf+xml]
Saving to: `STDOUT'
0% [ ] 0 --.-K/s <
?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
...
http://svn.openmath.org/OpenMath/www/dot_htaccess_cd hasn't changed for a long time – or maybe this has already been broken for a long time?
Paul, in revision 1243 you made the following change – which looks OK to me, but depends on a server directory layout that maybe no longer exists (?):
-RewriteRule ^(.+)(?<!\.rdf)(?<!\.xhtml)(?<!\.ocd)$ $1.xhtml [L]
+RewriteRule ^(.+)(?<!\.rdf)(?<!\.xhtml)(?<!\.ocd)$ /opt/local/activemath/www/www.openmath.org/www/$1.xhtml [L]
Do you have an idea?
Metadata
Metadata
Assignees
Labels
No labels