Apache

Apache access control the Agaric way

Key words and phrases: 
require password authentication Apache authorization limiting access to test server control who can view development sites
Description & Info: 

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

Key words and phrases: 
set up debian for Drupal
Description & Info: 

(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/interfaces

In there, this is the important part to change:

by Benjamin Melançon
Posted on Tue, 2007-10-02 18:42
in