earth tech

[software and hardware technology originating from or otherwise pertinent to planet earth]

use these buttons to share this blog on portal sites:

Add to Google
Connect with Facebook

Monday, March 9, 2009

 

Set an HTTP Basic Authentication Password

http://httpd.apache.org/docs/2.0/howto/auth.html

To set an HTTP Basic Authentication password on a sub-directory within the Apache document root directory tree:

  1. select the password file to use (this file can be created using the htpasswd command).
  2. Create the .htaccess in the directory that is to be protected.
  3. Within the .htaccess file, place Apache configuration directives similar to below.
  4. Create the username/password combination for login to the directory.

Ref:

Labels: , ,





<< Home

Archives

2006/12   2007/01   2007/05   2007/06   2007/07   2007/08   2007/10   2008/01   2008/02   2008/03   2008/05   2008/11   2008/12   2009/01   2009/02   2009/03   2009/04   2009/05   2009/07   2009/09   2009/10   2009/11  

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]