pequeno Posted March 23, 2020 Share Posted March 23, 2020 Hello If I protect my AdminCP with htppassw I obtain an 404 error. Can someone help me identify the problem? Link to comment Share on other sites More sharing options...
Morrigan Posted March 23, 2020 Share Posted March 23, 2020 404 means not found. Additionally htaccess with htpasswd is no longer a recommended way to secure your admin panel. The recommended way is to use MFA in: System > Settings > Two Factor Authentication pequeno 1 Link to comment Share on other sites More sharing options...
pequeno Posted March 23, 2020 Author Share Posted March 23, 2020 17 minutes ago, Morrigan said: 404 means not found. Yes I know, But I don't know why that error occurs. 18 minutes ago, Morrigan said: System > Settings > Two Factor Authentication Thank you. I will try it. Link to comment Share on other sites More sharing options...
Morrigan Posted March 23, 2020 Share Posted March 23, 2020 I mean I don't know how your .htaccess is setup in that folder or the file its looking for so I, nor anyone else, could actually tell you. pequeno 1 Link to comment Share on other sites More sharing options...
pequeno Posted March 23, 2020 Author Share Posted March 23, 2020 7 minutes ago, Morrigan said: don't know how your .htaccess is setup I restrict with Cpanel, which automatically creates these lines in htaccess AuthType Basic AuthName "Restricted Area" AuthUserFile "/home/site/.htpasswds/public_html/admin/passwd" require valid-user Link to comment Share on other sites More sharing options...
Morrigan Posted March 23, 2020 Share Posted March 23, 2020 It sounds like its setting it up wrong: /home/site/.htpasswds/public_html/admin/passwd Because .htpasswds is a file and can't have subfolders. pequeno 1 Link to comment Share on other sites More sharing options...
Recommended Posts