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 [users@httpd] "require group" using authn_dbd and digest
Date Fri, 01 Jul 2011 14:16:39 GMT
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


Mime
View raw message