httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jez Hancock <jez.hanc...@munk.nu>
Subject Re: [users@httpd] HTACCESS FIle ?
Date Fri, 06 Feb 2004 21:03:22 GMT
On Fri, Feb 06, 2004 at 03:12:46PM -0500, m i l e s wrote:
> 
> 1.) To set up a password protected folder,
> you first create a .htaccess file within
> the folder you want to protect, that
> contains the following:
> 
> AuthType Basic
> AuthName your_realm
> AuthUserFile /Users/username/nameofpasswordfile
> require valid-user
> 
> 2.) Replacing "your_realm" with the name for
> your protected realm and the AuthUserFile
> path with the path to the file that
> contains the username/password combinations.
> 
> 3.) Then, to create/add users to the user/password
> file, use the following command line operation:
> 
> 	htpasswd [-c] passwordfile username
> 	(the -c creates a new file if you need to do so)

The instructions sound ok, what are the error messages that appear in your
error log?

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/        - ipfw peruser traffic logging

---------------------------------------------------------------------
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