From the main tutorial, One-Click Install WordPress on Ubuntu 14.04 with DigitalOcean:
To remove the additional password prompt, you’ll need to log into your VPS instance through SSH.... Once logged in, you need to update the main Apache configuration file. Open it as root with your text editor:
Inside, you need to find the section that deals with the “/wp-admin/” section. It should look like this
<DirectoryMatch ^.*/wp-admin/> AuthType Basic AuthName "Please login to your droplet via SSH for login details." AuthUserFile /etc/apache2/.htpasswd Require valid-user </DirectoryMatch>
This entire section can be commented out by placing the “#” character before each line, like this:
#<DirectoryMatch ^.*/wp-admin/> # AuthType Basic # AuthName "Please login to your droplet via SSH for login details." # AuthUserFile /etc/apache2/.htpasswd # Require valid-user #<DirectoryMatch>
Once this is complete, you can restart Apache for your new changes to take affect.
service apache2 restart
This should remove the additional password prompt from the administrative areas, which is usually okay since WordPress itself can handle authentication.
htpasswd /etc/apache2/.htpasswd adminIt will ask you to enter a new password, which will be the password for /wp-admin/
my first time here and i run into this nonsense as well. Bitnami does the same crap, thinking they are writing good tutorials/guides but its more confusing than Aamazon’s AWS documentation and does not help new comers get into the “cloud”, I guess thats why they say “built for developers” and thats why RackSpace is growing so well.
This is discovered and has to troubleshoot for a few hours before deleting or at least a day before getting the answer from somewhere else on the net. So multiply that by countless users and they are getting income at the expense of their customers loss and frustration.
PLEASE improve your documentation !!!
Trying to restart apache failed with the following error:
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
I needed to add a line into that same file - /etc/apache2/apache2.conf saying
After adding this line, apache restarted successfully.