ok fixed the path. got a 401 error. made a new htpasswd file and worked. apparently the htpasswd tool was generating bogus encrypted passwd, server didnt understand. tried to use the apache htpasswd tool in bin folder but wont launch for some reason.

----- Original Message ----- From: "Drew Tomlinson" <[EMAIL PROTECTED]>
To: <users@httpd.apache.org>
Sent: Friday, October 03, 2008 1:59 PM
Subject: Re: [EMAIL PROTECTED] Protecting a Directory


[EMAIL PROTECTED] 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/.htpasswd

Since 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" <[EMAIL PROTECTED]>
To: <users@httpd.apache.org>
Sent: Friday, October 03, 2008 1:47 PM
Subject: Re: [EMAIL PROTECTED] Protecting a Directory


AuthUserFile xampp/htdocs/xxxx/.htpasswd

Is that really a relative path?  Also, your passwords should not be
under your DocumentRoot or any Aliases.
--
Eric Covener
[EMAIL PROTECTED]



--
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to