httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drew Tomlinson <>
Subject Re: [users@httpd] Protecting a Directory
Date Fri, 03 Oct 2008 20:59:57 GMT 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:


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.



> ----- Original Message ----- From: "Eric Covener" <>
> To: <>
> Sent: Friday, October 03, 2008 1:47 PM
> Subject: Re: [users@httpd] 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

Be a Great Magician!
Visit The Alchemist's Warehouse

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message