httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: help on htaccess/htpasswd
Date Thu, 28 Mar 2002 16:28:29 GMT

On Thu, 28 Mar 2002, LeTortorec, Jean-Louis wrote:
>
> 	AuthUserFile /.../html/.htpasswd
> 	AuthGroupFile /dev/null
> 	AuthName "My folder"
> 	AuthType Basic
> 	<Limit GET POST>
> 	require valid-user
> 	</Limit>

Please take whatever documentation you are using and throw it away.  It is
giving you bad advice.  Some good documentation is available here:
http://httpd.apache.org/docs/howto/auth.html

Some problems I see:
1. Don't place the password file in a web-accessible directory.
2. Don't use <Limit GET POST> and </Limit>.  They are unnecessary and
possibly a security risk.
3. You probably need to read:
http://httpd.apache.org/docs/misc/FAQ.html#htaccess-work

Joshua.


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message