{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/6339","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6339/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6339/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6339/events","html_url":"https://github.com/joomla/joomla-cms/issues/6339","id":60102397,"number":6339,"title":"New Joomla htaccess breaks htpasswd protection of administrator","user":{"login":"vancanneyt","id":6499796,"avatar_url":"https://avatars.githubusercontent.com/u/6499796?v=3","gravatar_id":"","url":"https://api.github.com/users/vancanneyt","html_url":"https://github.com/vancanneyt","followers_url":"https://api.github.com/users/vancanneyt/followers","following_url":"https://api.github.com/users/vancanneyt/following{/other_user}","gists_url":"https://api.github.com/users/vancanneyt/gists{/gist_id}","starred_url":"https://api.github.com/users/vancanneyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vancanneyt/subscriptions","organizations_url":"https://api.github.com/users/vancanneyt/orgs","repos_url":"https://api.github.com/users/vancanneyt/repos","events_url":"https://api.github.com/users/vancanneyt/events{/privacy}","received_events_url":"https://api.github.com/users/vancanneyt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/No%20Code%20Attached%20Yet","name":"No Code Attached Yet","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-06T13:36:43Z","updated_at":"2015-03-06T17:40:01Z","closed_at":null,"body":"When updating root .htaccess file to the latest provided with Joomla 3.4 and you have your administrator directory password protected with .htaccess/htpasswd. Then you can't access the administrator page (404 not found). When re-adding the line in the image) it works again. \r\n![schermafbeelding 2015-03-06 om 14 24 58](https://cloud.githubusercontent.com/assets/6499796/6526076/f2ba38c6-c40d-11e4-8bfe-a1adf6894f3a.png)"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/77601128","html_url":"https://github.com/joomla/joomla-cms/issues/6339#issuecomment-77601128","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6339","id":77601128,"user":{"login":"PhilETaylor","id":400092,"avatar_url":"https://avatars.githubusercontent.com/u/400092?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilETaylor","html_url":"https://github.com/PhilETaylor","followers_url":"https://api.github.com/users/PhilETaylor/followers","following_url":"https://api.github.com/users/PhilETaylor/following{/other_user}","gists_url":"https://api.github.com/users/PhilETaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilETaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilETaylor/subscriptions","organizations_url":"https://api.github.com/users/PhilETaylor/orgs","repos_url":"https://api.github.com/users/PhilETaylor/repos","events_url":"https://api.github.com/users/PhilETaylor/events{/privacy}","received_events_url":"https://api.github.com/users/PhilETaylor/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T17:40:01Z","updated_at":"2015-03-06T17:40:01Z","body":"This DEPENDS on your own server configuration. \r\n\r\nStandard configurations of Apache will have a default handler for 401 errors - unlike your non standard configuration. \r\n\r\nyou might also need a 403 line too \r\n\r\n```\r\nErrorDocument 403 default\r\nErrorDocument 401 default\r\n```\r\n\r\nFor information Akeeba Admin Tools has this feature, and their forum and documentation talk about this issue and how to resolve it. \r\n\r\nAs Joomla doesn't provide any feature to secure your /administrator/ with a .htaccess and as this change to the code htaccess will work in standard apache configurations (ones where the webhost has not overruled the 401/403 handlers) I don't see that this is anything that Joomla needs to educate or document about.\r\n"}}