Scan Issue with Password required in .htaccess
-
Hi,
I use .htaccess with .htpasswd to required a user in my web, now I want to scan it with Wordfence but I can′t. I met a ticket(https://www.ads-software.com/support/topic/allow-wordfence-to-work-with-password-protected-wp-admin-folder/) but this solution is not working for me.
This doesn’t work:
AuthType Basic AuthName "Please log in" AuthUserFile "/home/www/html/web/.htpasswd" <RequireAny> Require valid-user Require ip 127.0.0.1 Require ip 69.46.36.28 </RequireAny> ErrorDocument 401 /401.html
It doesn’t work either:
AuthType Basic AuthName "Please log in" AuthUserFile "/home/www/html/web/.htpasswd" Require valid-user Order allow,deny Allow from 80.147.187.99 Allow from 69.46.36.0/32 Allow from 54.68.32.247 satisfy any
It’s a new installation of WordPress, I only have a couple of plugins (deactivated) and the default template.
I’ve tried deactivating the password and I can scan the web. The problem is that in the future I won’t be able to deactivate the password. If I could add Wordfence ips to the list of allowed ips and this works, it would be a very good solution. Is it possible?
Thanks!
- The topic ‘Scan Issue with Password required in .htaccess’ is closed to new replies.