{"action":"created","issue":{"url":"https://api.github.com/repos/kanboard/kanboard/issues/1622","repository_url":"https://api.github.com/repos/kanboard/kanboard","labels_url":"https://api.github.com/repos/kanboard/kanboard/issues/1622/labels{/name}","comments_url":"https://api.github.com/repos/kanboard/kanboard/issues/1622/comments","events_url":"https://api.github.com/repos/kanboard/kanboard/issues/1622/events","html_url":"https://github.com/kanboard/kanboard/issues/1622","id":125665450,"number":1622,"title":"403 error trying to access the subdirectory containing kanboard without the trailing slash","user":{"login":"nekohayo","id":479401,"avatar_url":"https://avatars.githubusercontent.com/u/479401?v=3","gravatar_id":"","url":"https://api.github.com/users/nekohayo","html_url":"https://github.com/nekohayo","followers_url":"https://api.github.com/users/nekohayo/followers","following_url":"https://api.github.com/users/nekohayo/following{/other_user}","gists_url":"https://api.github.com/users/nekohayo/gists{/gist_id}","starred_url":"https://api.github.com/users/nekohayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekohayo/subscriptions","organizations_url":"https://api.github.com/users/nekohayo/orgs","repos_url":"https://api.github.com/users/nekohayo/repos","events_url":"https://api.github.com/users/nekohayo/events{/privacy}","received_events_url":"https://api.github.com/users/nekohayo/received_events","type":"User","site_admin":false},"labels":[{"id":82020435,"url":"https://api.github.com/repos/kanboard/kanboard/labels/php/server%20configuration","name":"php/server configuration","color":"fbca04","default":false},{"id":211510018,"url":"https://api.github.com/repos/kanboard/kanboard/labels/unable%20to%20reproduce%20bug","name":"unable to reproduce bug","color":"f7c6c7","default":false},{"id":388728415,"url":"https://api.github.com/repos/kanboard/kanboard/labels/waiting%20answer","name":"waiting answer","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-01-08T18:24:59Z","updated_at":"2016-11-18T22:33:57Z","closed_at":"2016-07-24T16:26:50Z","body":"I have a kanboard instance here that I upgraded for the last time in May 2015. Today I tried bringing it up to the latest stable version, like so:\n\n```\n$ git remote update\nFrom https://github.com/fguillot/kanboard\n * [new tag]         v1.0.15    -> v1.0.15\n * [new tag]         v1.0.16    -> v1.0.16\n * [new tag]         v1.0.17    -> v1.0.17\n * [new tag]         v1.0.18    -> v1.0.18\n * [new tag]         v1.0.19    -> v1.0.19\n * [new tag]         v1.0.20    -> v1.0.20\n * [new tag]         v1.0.21    -> v1.0.21\n * [new tag]         v1.0.22    -> v1.0.22\n\n$ git checkout v1.0.22\nPrevious HEAD position was fa59a14...\nHEAD is now at f8bb0b4...\n\n$ php ~/composer.phar install\n```\n\nThis worked fine, except that when I try to access that directory (at \"my_domain/kanboard\"), I get a 403 error. This is a shared hosting service, I do not have access to the httpd logs, so I just compared the permissions of the files between the old and new version, and they seem to be the same (and I don't see something obviously wrong with them).\n\nBut then, I made an interesting discovery:\n- if I try to access my_domaine/kanboard/index.php  I get the login page, no 403\n- if I try to access \"my_domain/kanboard/\", _with_ the trailing slash, then it works.\n\n`$ git blame .htaccess` makes me suspect one of the changes you made during the past few months might be the cause?\n\nCould you make it work without the need for a trailing slash (it used to work)?\n"},"comment":{"url":"https://api.github.com/repos/kanboard/kanboard/issues/comments/261659935","html_url":"https://github.com/kanboard/kanboard/issues/1622#issuecomment-261659935","issue_url":"https://api.github.com/repos/kanboard/kanboard/issues/1622","id":261659935,"user":{"login":"asmundstavdahl","id":1936058,"avatar_url":"https://avatars.githubusercontent.com/u/1936058?v=3","gravatar_id":"","url":"https://api.github.com/users/asmundstavdahl","html_url":"https://github.com/asmundstavdahl","followers_url":"https://api.github.com/users/asmundstavdahl/followers","following_url":"https://api.github.com/users/asmundstavdahl/following{/other_user}","gists_url":"https://api.github.com/users/asmundstavdahl/gists{/gist_id}","starred_url":"https://api.github.com/users/asmundstavdahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmundstavdahl/subscriptions","organizations_url":"https://api.github.com/users/asmundstavdahl/orgs","repos_url":"https://api.github.com/users/asmundstavdahl/repos","events_url":"https://api.github.com/users/asmundstavdahl/events{/privacy}","received_events_url":"https://api.github.com/users/asmundstavdahl/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T22:33:57Z","updated_at":"2016-11-18T22:33:57Z","body":"Adding a `/?` after `kanboard` in the FilesMatch directive worked for me.\r\n\r\nMy installation is also located in a subdirectory, at `/kanboard/`.\r\n```\r\n<FilesMatch \"(kanboard/?|config.php|config.default.php)\">\r\n```"}}
{"actor":{"display_login":"asmundstavdahl"}}