Need to Remove Authorization Req Prompt on Wordpress

Here is the wrinkle,

when I follow the directions on other posts and logon to the apache2 file, it is blank.

There is no WP Admin stuff to null. I have had an ssl installed on other domains on my DO account (not sure if that would affect this install).

Any help would be greatly appreciated.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

From what I gather, I just had to nano /etc/apache2/apache2.conf and comment out this section :

  AuthType Basic
  AuthName "Restricted Area"
  AuthUserFile /etc/apache2/.htpasswd
  Require valid-user

Just commented all of it, hopefully that's not a bad thing. Please let me know if it is.

There is nothing in that apache2 file…

The extra password dialog is defined inside a DirectoryMatch directive in the file


Locating the DirectorMatch directive that includes the authentication configuration and removing that section and then running:

service apache2 restart

will remove this.