{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/f39eb73e912197bb9aa7de3e5f7ea048?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f39eb73e912197bb9aa7de3e5f7ea048","url":"https://api.github.com/users/jessevondoom","login":"jessevondoom","id":368640},"milestone":null,"labels":[{"name":"admin","color":"126E2D","url":"https://api.github.com/repos/cashmusic/DIY/labels/admin"}],"updated_at":"2011-11-10T17:59:59Z","assignee":null,"closed_at":null,"comments":0,"url":"https://api.github.com/repos/cashmusic/DIY/issues/137","body":"Seeing 403 forbidden issues with different behavior in different places. It has to do with requesting the root directory of the admin with or without a trailing slash. (so whatever.com/cashmusic/admin versus whatever.com/cashmusic/admin/) Seems to be primarily centered around this line:  \r\n  \r\n```\r\nDirectorySlash Off\r\n```\r\nOn my local machine (MAMP, running on OSX 10.5) setting DirectorySlash Off fixes things. Both /admin and /admin/ work properly. If set to On, /admin/ works, but /admin pitches a fit and tries to redirect things to /admin/?p=... so it's almost as if it's trying to add the slash and somehow rewrite at the same time? The result is a 403 error.\r\n\r\nOn a test install at dreamhost setting DirectorySlash Off causes problems. /admin/ works, but /admin gives a 403. Setting DirectorySlash to On fixes the problem and makes both /admin and /admin/ work correctly with none of the odd redirect issues as with my local machine.\r\n\r\nQué motherfucking pasa?!?\r\n","html_url":"https://github.com/cashmusic/DIY/issues/137","number":137,"title":"Admin .htaccess fun","id":2200798,"created_at":"2011-11-10T17:59:58Z"},"action":"opened"}