Report this

What is the reason for this report?

Need to Remove Authorization Req Prompt on Wordpress

Posted on January 15, 2015

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.



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!

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.

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

/etc/apache2/apache2.conf

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

service apache2 restart

will remove this.

There is nothing in that apache2 file…

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
</DirectoryMatch>```

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.