Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 23, 20205 yr Hello If I protect my AdminCP with htppassw I obtain an 404 error. Can someone help me identify the problem?
March 23, 20205 yr 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
March 23, 20205 yr Author 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.
March 23, 20205 yr 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.
March 23, 20205 yr Author 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
March 23, 20205 yr 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.
Archived
This topic is now archived and is closed to further replies.