?
avatar vancanneyt
vancanneyt
6 Mar 2015

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.
schermafbeelding 2015-03-06 om 14 24 58

avatar vancanneyt vancanneyt - open - 6 Mar 2015
avatar joomla-cms-bot joomla-cms-bot - change - 6 Mar 2015
Labels Added: ?
avatar brianteeman
brianteeman - comment - 6 Mar 2015

For reference this is when the change was made
e5eb98a


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6339.
avatar brianteeman
brianteeman - comment - 6 Mar 2015

Raising the priority


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6339.
avatar brianteeman brianteeman - change - 6 Mar 2015
Priority Medium Urgent
avatar PhilETaylor
PhilETaylor - comment - 6 Mar 2015

in your custom /administrator/.htaccess please try adding:

ErrorDocument 401 default

And see if that helps in your server environment (to be clear, add this in YOUR CUSTOM /administrator/.htaccess and not in the Joomla .htaccess in /.htaccess)

avatar vancanneyt
vancanneyt - comment - 6 Mar 2015

Okay, that did help. But i think the same question will be asked a lot for all users that use Cpanel,DirectAdmin etcetera; the default password protect directories function in those systems doesn't add that line making the users backend unreachable if they wanna password protect it. Should Joomla add some docs about that to inform users?

avatar PhilETaylor
PhilETaylor - comment - 6 Mar 2015

This DEPENDS on your own server configuration.

Standard configurations of Apache will have a default handler for 401 errors - unlike your non standard configuration.

you might also need a 403 line too

ErrorDocument 403 default
ErrorDocument 401 default

For information Akeeba Admin Tools has this feature, and their forum and documentation talk about this issue and how to resolve it.

As 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.

avatar PhilETaylor
PhilETaylor - comment - 6 Mar 2015

Please can you tell me who your webhost is? (Dreamhost? Hostgator? Fasthosts? Bluehost?)

avatar PhilETaylor
PhilETaylor - comment - 6 Mar 2015

This also appears to be a common issue for DirectAdmin control panel users. Still - not a Joomla issue.

Suggest closing this.

avatar vancanneyt
vancanneyt - comment - 6 Mar 2015

Ok, thx closing it. Maybe i'll talk to the directadmin guys about it ;-) seems common on their default installations

avatar vancanneyt vancanneyt - change - 6 Mar 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-03-06 17:46:57
avatar vancanneyt vancanneyt - close - 6 Mar 2015
avatar vancanneyt vancanneyt - close - 6 Mar 2015

Add a Comment

Login with GitHub to post a comment