{"action":"created","issue":{"url":"https://api.github.com/repos/perma-id/w3id.org/issues/65","labels_url":"https://api.github.com/repos/perma-id/w3id.org/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/perma-id/w3id.org/issues/65/comments","events_url":"https://api.github.com/repos/perma-id/w3id.org/issues/65/events","html_url":"https://github.com/perma-id/w3id.org/issues/65","id":58770420,"number":65,"title":"is URL rewriting with content negotiation supported?   ","user":{"login":"nandana","id":204855,"avatar_url":"https://avatars.githubusercontent.com/u/204855?v=3","gravatar_id":"","url":"https://api.github.com/users/nandana","html_url":"https://github.com/nandana","followers_url":"https://api.github.com/users/nandana/followers","following_url":"https://api.github.com/users/nandana/following{/other_user}","gists_url":"https://api.github.com/users/nandana/gists{/gist_id}","starred_url":"https://api.github.com/users/nandana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nandana/subscriptions","organizations_url":"https://api.github.com/users/nandana/orgs","repos_url":"https://api.github.com/users/nandana/repos","events_url":"https://api.github.com/users/nandana/events{/privacy}","received_events_url":"https://api.github.com/users/nandana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-24T17:15:59Z","updated_at":"2015-02-24T18:53:39Z","closed_at":null,"body":"I wanted to ask whether w3id supports/permits to do URL rewriting with conditions for content negotiation, for instance using [RewriteCond](http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond).\r\n\r\nMy usecase is to host my ontology in Github pages and use w3id URL as a permanent identifier.  Further, I want to have content negotiation on that URL but unfortunately Github pages doesn't support content negotiation. However, if I can do this at the URL rewrite stage I can still properly do what I wanted to do. \r\n\r\nFor example, something like the following.\r\n\r\n> RewriteCond %{HTTP:Accept} text/turtle \r\n> RewriteRule ^foo$ http://proj.github.io/vocab/foo.ttl [R=303,L]\r\n> \r\n> RewriteCond %{HTTP:Accept} application/rdf+xml\r\n> RewriteRule ^foo$ http://proj.github.io/vocab/foo.xml [R=303,L]\r\n> \r\n> RewriteRule ^foo$ http://proj.github.io/vocab/foo.html [R=303,L]\r\n\r\nP.S. I am not an expert on HTTPD config, so there may be a better way to do this. "},"comment":{"url":"https://api.github.com/repos/perma-id/w3id.org/issues/comments/75820452","html_url":"https://github.com/perma-id/w3id.org/issues/65#issuecomment-75820452","issue_url":"https://api.github.com/repos/perma-id/w3id.org/issues/65","id":75820452,"user":{"login":"nandana","id":204855,"avatar_url":"https://avatars.githubusercontent.com/u/204855?v=3","gravatar_id":"","url":"https://api.github.com/users/nandana","html_url":"https://github.com/nandana","followers_url":"https://api.github.com/users/nandana/followers","following_url":"https://api.github.com/users/nandana/following{/other_user}","gists_url":"https://api.github.com/users/nandana/gists{/gist_id}","starred_url":"https://api.github.com/users/nandana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nandana/subscriptions","organizations_url":"https://api.github.com/users/nandana/orgs","repos_url":"https://api.github.com/users/nandana/repos","events_url":"https://api.github.com/users/nandana/events{/privacy}","received_events_url":"https://api.github.com/users/nandana/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T18:53:39Z","updated_at":"2015-02-24T18:53:39Z","body":"Thanks a lot Dave and David! \r\nI will do a pull request to try it out."}}