----- Original Message ----- From: "Drew Tomlinson" <drew@xxxxxxxxxxxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx> Sent: Friday, October 03, 2008 1:59 PM Subject: Re: Protecting a Directory
jg6789@xxxxxxx wrote:according to php document root it is the path. htpasswd is not under root. it is under a folder in the alias folder. the question is when the htaccess AuthUserFile ooks for the htpasswd file is it looking in at the "alais" or the D:/ directory?It is looking for it here: xampp/htdocs/xxxx/.htpasswdSince this is a relative path, it's probably looking for this directory relative to ServerRoot. To avoid conflict, I suggest specifying a complete path.HTH, Drew----- Original Message ----- From: "Eric Covener" <covener@xxxxxxxxx> To: <users@xxxxxxxxxxxxxxxx> Sent: Friday, October 03, 2008 1:47 PM Subject: Re: Protecting a DirectoryAuthUserFile xampp/htdocs/xxxx/.htpasswdIs that really a relative path? Also, your passwords should not be under your DocumentRoot or any Aliases. -- Eric Covener covener@xxxxxxxxx-- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx