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

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

 



David Salisbury wrote:

the scheme has changed for Authorizing with 2.2. It's been more segmented up which allows for
more variation in authorizing and authenticating.

but.. for you... I'm thinking all you'll have to do is add -

AuthBasicProvider file

in your Directory block.

-Dave

----- Original Message ----- From: "Mark McCulligh" <mmcculli@xxxxxxxxxxxxx>
To: "Apache User group" <users@xxxxxxxxxxxxxxxx>
Sent: Friday, January 06, 2006 9:11 AM
Subject: [users@httpd] Apache 2.2.0 and Basic AuthType


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.

Thanks,
Mark.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

I have tried adding that line to the directory, still not working.

<Directory "folder_name">
AuthType Basic
AuthName "Login"
AuthBasicProvider file
AuthUserFile /usr/local/httpd/pwd/users.pwd
Require valid-user
</Directory>


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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