httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drew Tomlinson <d...@mykitchentable.net>
Subject Re: [users@httpd] Protecting a Directory
Date Fri, 03 Oct 2008 20:59:57 GMT
jg6789@cox.net 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" <covener@gmail.com>
> To: <users@httpd.apache.org>
> 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
>> covener@gmail.com
>>


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