morleo
By:
morleo

Domain asking for authentication login/password (like .htaccess or something)

August 25, 2014 1.1k views

Domain asking for authentication login/password (like .htaccess or something).

How to fix It?

Thank you

1 Answer

Solved!

After changing in etc/apache2/apache2.conf

<DirectoryMatch ^.*/wp-admin/>
  AuthType Basic
  AuthName "Restricted Area"
  AuthUserFile /etc/apache2/.htpasswd
  Require valid-user
</DirectoryMatch>

to

#<DirectoryMatch ^.*/wp-admin/>
#  AuthType Basic
#  AuthName "Restricted Area"
#  AuthUserFile /etc/apache2/.htpasswd
#  Require valid-user
#</DirectoryMatch>

forgot to restart apache2

sudo service apache2 restart
Have another answer? Share your knowledge.