Apache Authorization Access Control - location of htpasswd in Centos 5.1?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

 

I’m trying to set up a private family web site for genealogy, and want to set up Apache Authorization access control for this site, and once the user has logged in has access to the entire site.  I’ve been reading the info at http://httpd.apache.org/docs/2.2/howto/auth.html to learn how to do this.  I’m just planning on passing out the same username and password to all family members and allow everyone in the family to use the same username and password, to keep things simple.  The server is running Centos 5.1.

 

The first problem I am running into – I’m trying to use the htpasswd utility that came with Apache 2.2 to create a password file.  The default location according to above URL is in /usr/local/apache2/bin/htpasswd but apparently it’s not located there in my install. 

 

I tried creating a password file by executing htpasswd -c /passwd/passwords famsite but apparently htpasswd is not in my path, I’m getting the “cannot create file /passwd/passwords famsite” error.

 

Anyone know where the default location of htpasswd is on a centos 5.1 install?  Or how to generate a password file on a centos 5.1 install?



Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux