In reply to:
When reading a user manual, it advises when deploying the new software to an existing live site, to bring the site down to normal site visitors before installing. One way given is to install a temporary password on the site so that visitors cannot access it until the update is finished.
How does one do this 'temporary password'?
In your home directory (path = /home/username):
make a text file called .htaccess:
$ nano ~/.htaccess
AuthType Basic
AuthUserFile /home/uswername/.htpasswd
AuthName Duh
Require user temp
make a text file called .htpasswd:
$ htpasswd -c .htpasswd temp
New password:
Re-type new password:
Adding password for user temp[/pre]
This will apply to all web sites though, I'm not sure if your installation process would overwrite .htaccess or not...if it doesn't you could put the .htaccess in /home/username/domain
Just delete the .htaccess or remove those line to stop requiring a password
Customer since 2000
openvein.org