httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Apache 2.2.0 and Basic AuthType
Date Fri, 06 Jan 2006 19:01:14 GMT
On 1/6/06, Mark McCulligh <mmcculli@visualtech.ca> wrote:
> Joshua Slive wrote:
>
> >On 1/6/06, Mark McCulligh <mmcculli@visualtech.ca> wrote:
> >
> >
> >>Hi Group,
> >>
> >>I cannot get Basic AuthType to work with Apache 2.2.0.  Has something
> >>changed between versions, like I have to uncomment something.
> >>
> >>I am not going any special just a simple Basic Auth
> >><Directory "folder_name">
> >>  AuthType Basic
> >>  AuthName "Login"
> >>  AuthUserFile /usr/local/httpd/pwd/users.pwd
> >>  Require valid-user
> >></Directory>
> >>
> >>When you access the folder it does not prompt the user to login, just
> >>displays the forbidden(403) error message right away.
> >>
> >>If I turn off Basic AuthType and "allow from all" everything works.
> >>
> >>
> >
> >What does the error log say?
> >
> >Joshua.
> >
> >
> The access log file just have one line:
>
> IP - - date "GET filename HTTP/1.1" 403 370 "-" "browser"
>
> The error log file has nothing.

Everything is much harder if you randomly obscure parts of your
configuration and log entries.

Are you sure you have all the modules you need included in the server?
 You'll need at least mod_auth_basic, mod_authn_file, and
mod_authz_user.

Joshua.
Mime
View raw message