Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
pequeno Posted March 23, 2020 Posted March 23, 2020 Hello If I protect my AdminCP with htppassw I obtain an 404 error. Can someone help me identify the problem?
Morrigan Posted March 23, 2020 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
pequeno Posted March 23, 2020 Author 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.
Morrigan Posted March 23, 2020 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
pequeno Posted March 23, 2020 Author 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
Morrigan Posted March 23, 2020 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
Recommended Posts