Re: [users@httpd] Apache 2.2.0 and Basic AuthType

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/6/06, Mark McCulligh <mmcculli@xxxxxxxxxxxxx> wrote:
> Joshua Slive wrote:
>
> >On 1/6/06, Mark McCulligh <mmcculli@xxxxxxxxxxxxx> 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.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux