httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Hughbanks <jam...@mikro-data.net>
Subject Re: [users@httpd] Best way to set up a password protected website for individual users
Date Sat, 28 Aug 2004 02:47:07 GMT
use .htaccess, have something like

AuthUserFile /home/blah/.htpasswd
AuthName "Password Required"
AuthType Basic
require valid-user

Then  create your .htpasswd file by
htpasswd -c .htpasswd username
<prompts for password twice>
As you need to add passwords just omit the -c
htpasswd .htpasswd username

BTW htpasswd is a program included in apache, so if you have it 
somewhere not in your path you might have to  do 
/usr/local/apache/bin/htpasswd

--James Hughbanks
Mikro-Data Engineering Dept.
support@mikro-data.net
1-866-457-6287
http://www.mikro-data.net


On Aug 27, 2004, at 10:41 PM, mbastreak wrote:

> As I have written in the subject line above, I am trying to establish 
> the
> most productive an d easy solution to manage a website for about 15
> users(going to increase eventually several months down the road). I 
> know
> about using a .htaccess file, but I was hoping to setup a username 
> list so
> each user would have their own password. We are not too concerned about
> security as this is not really protecting anything serious just some
> information that should only be available to certain users. Any 
> suggestions.
>
> OS: Gentoo Linux 2.4
> Apache: 2.0.50
>
> Patrick O'Neal
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


Mime
View raw message