knackforge
February 17, 2012
At KnackForge we try to follow best practices in all our development processes. The list includes protecting development and stage sites from unauthorized access and search engines. HTTP authentication has been the simple and prime option of our choice. The steps involved in this process are fairly minimal and depend on apache's .htaccess file. Thus needs no restart to the webserver.
[[{"type":"media","view_mode":"media_original","fid":"93","attributes":{"alt":"","class":"media-image","typeof":"foaf:Image"}}]]
# htpasswd -c /etc/apache2/passwd/drupal7 sivaji
# chmod 644 /etc/apache2/passwd/drupal7
Add the below config lines to the end of .htaccess file.
Just like how your fellow techies do.
We'd love to talk about how we can work together
Take control of your AWS cloud costs that enables you to grow!