httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Wagner <rowag...@math.tu-berlin.de>
Subject Re: [users@httpd] "require group" using authn_dbd and digest
Date Mon, 04 Jul 2011 15:17:03 GMT
Authenticating groups using a database seems to be possible only with
mod_authz_dbd (http://httpd.apache.org/docs/2.3/mod/mod_authz_dbd.html).
The source files for Apache 2.2 can be found at
http://people.apache.org/~niq/dbd.html.

Robert

Am 01.07.2011 16:16, schrieb Robert Wagner:
> Hi,
>
> i would like to authenticate users using MySQL. So far my working
> configuration look like this:
> DBDriver mysql
> DBDParams "host=127.0.0.1 port=3306 dbname=apache_auth user=username
> pass=password"
> DBDPersist off
>
> <Directory /var/www/sqlauth>
>         AuthDBDUserRealmQuery "SELECT passwd FROM web_users WHERE
> username = %s AND realm = %s"
>         AuthDigestProvider dbd
>         AuthName "geschuetzter Bereich"
>         AuthType Digest
>
>         Order deny,allow
>         Allow from all
>         Require valid-user
> </Directory>
>
> Now i need to realize groups (using an own sql table). I found many
> tutorials using basic-authentication but none with digest.
> I am using Debian Squeeze and Apache 2.2. I hope someone can help...
>
> Thanks
> Robert
>
> ---------------------------------------------------------------------
> 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
>

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


Mime
View raw message