{"action":"created","issue":{"url":"https://api.github.com/repos/tetherless-world/dco-citations/issues/1","repository_url":"https://api.github.com/repos/tetherless-world/dco-citations","labels_url":"https://api.github.com/repos/tetherless-world/dco-citations/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tetherless-world/dco-citations/issues/1/comments","events_url":"https://api.github.com/repos/tetherless-world/dco-citations/issues/1/events","html_url":"https://github.com/tetherless-world/dco-citations/issues/1","id":143349264,"number":1,"title":"URL rewriting is not working","user":{"login":"zhonghao1014","id":11859381,"avatar_url":"https://avatars.githubusercontent.com/u/11859381?v=3","gravatar_id":"","url":"https://api.github.com/users/zhonghao1014","html_url":"https://github.com/zhonghao1014","followers_url":"https://api.github.com/users/zhonghao1014/followers","following_url":"https://api.github.com/users/zhonghao1014/following{/other_user}","gists_url":"https://api.github.com/users/zhonghao1014/gists{/gist_id}","starred_url":"https://api.github.com/users/zhonghao1014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhonghao1014/subscriptions","organizations_url":"https://api.github.com/users/zhonghao1014/orgs","repos_url":"https://api.github.com/users/zhonghao1014/repos","events_url":"https://api.github.com/users/zhonghao1014/events{/privacy}","received_events_url":"https://api.github.com/users/zhonghao1014/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-24T20:18:33Z","updated_at":"2016-03-25T01:04:11Z","closed_at":null,"body":"@zednis @mrpatrickwest Use DCO-ID \"11121/3524-1246-5132-9229-CC\" for our example.\r\n \r\n```http://localhost/api.php?get_citation=11121/3524-1246-5132-9229-CC``` will successfully return some information on the DCO-ID provided\r\n\r\nI want to, by setting rewriting rules in ```.htaccess``` file, have a url rewriting such that \r\n```http://localhost/citation/11121/3524-1246-5132-9229-CC``` will be rerouted to the original URL and yield the same result.\r\n\r\nCurrently I set in ``.htaccess```  like this below, but nothing is working (URL Not Found).\r\n\r\n```\r\n<IfModule mod_rewrite.c>\r\nRewriteEngine On\r\nRewriteRule ^citation/([a-zA-Z0-9/-]+)$ api.php?get_citation=$1\r\n</IfModule>\r\n```"},"comment":{"url":"https://api.github.com/repos/tetherless-world/dco-citations/issues/comments/201090731","html_url":"https://github.com/tetherless-world/dco-citations/issues/1#issuecomment-201090731","issue_url":"https://api.github.com/repos/tetherless-world/dco-citations/issues/1","id":201090731,"user":{"login":"zhonghao1014","id":11859381,"avatar_url":"https://avatars.githubusercontent.com/u/11859381?v=3","gravatar_id":"","url":"https://api.github.com/users/zhonghao1014","html_url":"https://github.com/zhonghao1014","followers_url":"https://api.github.com/users/zhonghao1014/followers","following_url":"https://api.github.com/users/zhonghao1014/following{/other_user}","gists_url":"https://api.github.com/users/zhonghao1014/gists{/gist_id}","starred_url":"https://api.github.com/users/zhonghao1014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhonghao1014/subscriptions","organizations_url":"https://api.github.com/users/zhonghao1014/orgs","repos_url":"https://api.github.com/users/zhonghao1014/repos","events_url":"https://api.github.com/users/zhonghao1014/events{/privacy}","received_events_url":"https://api.github.com/users/zhonghao1014/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T01:04:11Z","updated_at":"2016-03-25T01:04:11Z","body":"@zednis There are two logs for apache in ```/var/logs/apache2/```, one is ```error_log``` which shows nothing particular, the other log is ```access_log``` which shows\r\n```\r\n::1 - - [24/Mar/2016:20:59:26 -0400] \"GET /api.php?action=get_citation&id=11121/3524-1246-5132-9229-CC HTTP/1.1\" 200 180\r\n::1 - - [24/Mar/2016:21:00:14 -0400] \"GET /citation/11121/3524-1246-5132-9229-CC HTTP/1.1\" 404 235\r\n```\r\nwhere the first record is a successful link and the second record shows page not found. Still couldn't figure out why the url rewriting is not working"}}