haschek / DokuWiki-Plugin-DokuSIOC

DokuSIOC integrates the SIOC ontology within DokuWiki and provides alternate RDF/XML views of the wiki documents.
http://eye48.com/go/dokusioc
GNU General Public License v2.0
4 stars 3 forks source link

Should not return a document at a user’s address #14

Open vfaronov opened 14 years ago

vfaronov commented 14 years ago

DokuWiki with DokuSIOC will gladly (200 OK) return web pages at URIs that are supposed to identify people, such as http://example.org/doku.php?id=user:john&type=user

An established Linked Data convention is that people should not have the same URIs as web pages. To solve this problem, DokuSIOC should either redirect (303 See Other) requests from &type=user to some other other resource containing a user’s description (regardless of the Accept header), or use URIs like this:

http://example.org/doku.php?id=user:john#this

(note the #this part — it’s what makes the user’s URI distinct from the URI of the page which is returned from the server).

haschek commented 14 years ago

Similar problem with pages which are not existing. The server responds to the user URIs with a 404.