You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jorge Roque <jr...@wonderworld.net> on 2001/10/12 05:16:57 UTC
Authentication Questions
I am trying to set "Basic" Authentication with Apache. I create an
account with "htpasswd" in "AuthUserFile /home/public/wwwroot/passwd"
and when I try to access the folder I received the authentication prompt
but it continues to ask me for a user ID and password and does not let
me get in.
The following is my configuration:
<Directory "/docs/">
Allow from All
Options Indexes Includes MultiViews
IndexOptions FancyIndexing
AllowOverride None
AuthType Basic
AuthName "Documentation Site"
AuthUserFile /home/public/wwwroot/passwd
AuthGroupFile /home/public/wwwroot/groups
Require user jroque
</Directory>
Could you please help me to find out why my apache server is not
accepting my authentication.
Thanks,
--
Jorge Roque
Wonderworld.Net
Tel.(305) 820-3323
Cel (305) 986-0217
Email: Jorge.Roque@wonderworld.net
http://wonderworld.net
Computer & System Solutions for Business
Re: Authentication Questions
Posted by Joshua Slive <sl...@commerce.ubc.ca>.
On Thu, 11 Oct 2001, Jorge Roque wrote:
>
> I am trying to set "Basic" Authentication with Apache. I create an
> account with "htpasswd" in "AuthUserFile /home/public/wwwroot/passwd"
> and when I try to access the folder I received the authentication prompt
> but it continues to ask me for a user ID and password and does not let
> me get in.
>
> The following is my configuration:
>
> <Directory "/docs/">
A few points:
1. This is not a user support mailing list. You should be asking this
question in one of the forums listed here:
http://www.apache.org/foundation/mailinglists.html#http-usenet
2. Three things you should look for
a) Are you using a cobalt box or another setup with mod_auth_sys or a
similar module? If so, you need to disable that module to allow mod_auth
to work.
b) <Directory> takes unix filesystem paths, not web paths, so unless
/docs/ is a directory under your unix filesystem root, that is not
correct.
c) The error log often contains useful debugging information. Always
include its contents in problem reports.
Joshua.
Re: Authentication Questions
Posted by Dirk-Willem van Gulik <di...@covalent.net>.
You may want to check your error log. It propably explains what is
happening.
Dw
On 11 Oct 2001, Jorge Roque wrote:
>
> I am trying to set "Basic" Authentication with Apache. I create an
> account with "htpasswd" in "AuthUserFile /home/public/wwwroot/passwd"
> and when I try to access the folder I received the authentication prompt
> but it continues to ask me for a user ID and password and does not let
> me get in.
>
> The following is my configuration:
>
> <Directory "/docs/">
> Allow from All
> Options Indexes Includes MultiViews
> IndexOptions FancyIndexing
> AllowOverride None
> AuthType Basic
> AuthName "Documentation Site"
> AuthUserFile /home/public/wwwroot/passwd
> AuthGroupFile /home/public/wwwroot/groups
> Require user jroque
> </Directory>
>
> Could you please help me to find out why my apache server is not
> accepting my authentication.
>
>
> Thanks,
>
>