Giter VIP home page Giter VIP logo

owlturtle2http's People

Contributors

andimou avatar bjdmeest avatar pietercolpaert avatar rubensworks avatar rubenverborgh avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bjdmeest

owlturtle2http's Issues

.htaccess generated by ./serve does not account for classes & property URIs

When an ontology is served through the owlturtle2http server, all underlying classes and properties get the right response (303):

$ curl -I -H "Accept: text/turtle" http://semweb.datasciencelab.be/ns/up/assertionConfidence
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0HTTP/1.1 303 See Other
Date: Tue, 27 Sep 2016 12:47:19 GMT
Server: Apache
X-Powered-By: Express
Location: http://semweb.datasciencelab.be/ns/up
Vary: Accept
Content-Type: text/plain

However, when generating the .htaccess file with ./serve to handle the content negotation while still allowing the hosting of other files in the ontology directory (e.g., supporting files, previous versions, etc.), you get a 404 for these classes/properties:

curl -I -H "Accept: text/turtle" http://semweb.datasciencelab.be/ns/prov-said/Message
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0HTTP/1.1 404 Not Found
Date: Tue, 27 Sep 2016 12:46:37 GMT
Server: Apache/2.2.14 (Ubuntu)
Vary: Accept-Encoding
Content-Type: text/html; charset=iso-8859-1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.