You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Meir Yanovich <me...@fts-soft.com> on 2006/06/11 22:28:58 UTC

[users@httpd] Authentication directive from 1.3 to 2.2 , what do i miss here?

 

 

Hello all

in version 1.3 i hade this Authentication directive 

that was using simple Authentication , when apache was  recognized files
from *.foo

extension it was starting the Authentication mechanism 

 

AddHandler foo .foo

AddType application/foo .foo

 

<DirectoryMatch /BLD/PER>

        <Files *.foo>

                AuthName MyHome

                AuthType Basic

                require valide-user

        </Files>

</DirectoryMatch>

 

but now in 2.2 it does recognized that the page needs Authentication
but then 

in the logs it says : 

[Sun Jun 11 16:53:15 2006] [error] [client 1#2.1##.#.6#] No Authn
provider configured, referer: http://myhome:8888/blah.html

[Sun Jun 11 16:53:15 2006] [error] [client 1#2.1##.#.6#] access to
/BLD/PER/none.foo failed, reason: verification of user

id 'admin' not configured, referer: http://myhome:8888/blah.html

 

what im doing wrong here ? does the configuration changed ? do i miss
something in the configuration?

 

Thanks

 

 

 


[users@httpd] Re: Authentication directive from 1.3 to 2.2 , what do i miss here?

Posted by Joost de Heer <sa...@xs4all.nl>.
> but now in 2.2 it does recognized that the page needs Authentication
> but then
>
> in the logs it says :
>
> [Sun Jun 11 16:53:15 2006] [error] [client 1#2.1##.#.6#] No Authn
> provider configured, referer: http://myhome:8888/blah.html
>
> [Sun Jun 11 16:53:15 2006] [error] [client 1#2.1##.#.6#] access to
> /BLD/PER/none.foo failed, reason: verification of user
>
> id 'admin' not configured, referer: http://myhome:8888/blah.html

> what im doing wrong here ? does the configuration changed ? do i miss
> something in the configuration?

The configuration for authentication in httpd 2.2 completely changed. See
http://httpd.apache.org/docs/2.2/howto/auth.html for an explanation on how
the new authentication mechanism works.

Joost


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