httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "D'Arcy J.M. Cain" <da...@Vex.Net>
Subject Re: [users@httpd] Using PostgreSQL auth - user permissions
Date Mon, 25 Feb 2013 18:47:29 GMT
On Mon, 25 Feb 2013 12:19:28 -0500
"D'Arcy J.M. Cain" <darcy@Vex.Net> wrote:
> I have recently upgraded to Apache 2.4, suExec and dbd authentication
> with PostgreSQL.  This is on a system with multiple users.  Here is an
> example virtual host entry:

Pardon my followup to my own message but I realized that I gave a bad
example.  This one uses the same user for SuexecUserGroup and DBDParams
and still has the same problem.

<VirtualHost 98.158.134.4:80>
    ServerName admin.bigsmokemusic.com
    DocumentRoot /u/WEB/bigsmoke/admin
    ServerAdmin webmaster@vex.net
    SuexecUserGroup bigsmoke bigsmoke
        
    DBDriver pgsql
    DBDParams "dbname=bigsmoke user=bigsmoke"
    DBDPersist off

    <Directory /u/WEB/bigsmoke/admin>
        AuthType Basic
        AuthName "Big Smoke Music Administration"
        Require valid-user
        AuthBasicProvider dbd
        AuthDBDUserPWQuery "SELECT person_pass FROM pperson \
                            WHERE person_login = %s"
    </Directory>
</VirtualHost> 

-- 
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@Vex.Net
Voip: sip:darcy@Vex.Net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message