Apache
Apache access control the Agaric way
Clients don't like their test site competing with their live, production site for Google results. Therefore, we have put our entire set of test sites behind a pop-up requiring basic Apache authentication.
For ongoing maintenance — adding new people to access the test environment behind the authorization wall — the operative command is:
Roughly following the instructions here:
http://httpd.apache.org/docs/2.2/howto/auth.html
sudo mkdir /etc/apache2/passwd
sudo htpasswd -c /etc/apache2/passwd/passwords dan
New password:
Re-type new password:
Adding password for user dan
sudo htpasswd /etc/apache2/passwd/passwords benjamin
New password:
Re-type new password:
Adding password for user benjamin
Set up Apache, PHP, MySQL for Webserving Drupal
(If you're starting from the beginning, download a starter CD.)
Note: Take time to look at each statement and what it runs.
All of this is from: http://www.howtoforge.com/perfect_setup_debian_etch
apt-get install ssh openssh-server
vi /etc/network/interfacesIn there, this is the important part to change:
