Re: Apache2 -> mod_auth_mysql -> hjælp!

From: Jette Derriche (none@bsd-dk--nerdgirl.dk.lh.bsd-dk.dk)
Date: Mon 13 Nov 2006 - 20:21:21 CET


Subject: Re: Apache2 -> mod_auth_mysql -> hjælp!
From: Jette Derriche <none@bsd-dk--nerdgirl.dk.lh.bsd-dk.dk>
To: bsd-dk@bsd-dk.dk
Date: Mon, 13 Nov 2006 20:21:21 +0100

On Sun, 2006-11-12 at 21:53 +0100, Lasse Brandt wrote:
> > Jeg ved ikke hvad jeg ellers kan tjekke for at sikre modulet er
> > loadet...
>
> Prøv med:
> apachectl -M
>
> Den skulle gerne give dig hvilke moduler der er loaded. Evt. en grep
> efter auth eller mysql vil nok gøre det en anelse mere overskueligt :)

Jeg har ikke den option (-M)... måske er det en apache2.2 ting?

Men til gengæld faldt jeg lige over mod_info :-) Så nu har jeg fået
listet alle de moduler der er loaded, og som I kan se herunder er
mod_auth_mysql loaded... men det besynderlige er at der er meget få
direktiver til rådighed.:

----------------------------
Module Name: mod_auth_mysql.c
Content handlers: none
Configuration Phase Participation: Create Directory Config
Request Phase Participation: Verify User ID, Verify User Access
Module Directives:
        AuthMySQLHost - DB Server Hostname
        AuthMySQLUser - DB Username
        AuthMySQLPort - DB Port
        AuthMySQLPassword - DB Password for AuthMySQLUser
        AuthMySQLDB - DB Name
        AuthMySQLKeepAlive - DB connection kept open across requests if
        On
        AuthMySQLAuthoritative - Set to 'no' to allow access control to
        be passed along to lower modules, if the UserID is not known in
        this module
        AuthMySQLEnable - Set to 'no' if you want switch off the module
        for a <VirtualHost>
        AuthMySQLVirtualHost - Set to 'yes' if you want to use the
        virtualhostname in the queries
----------------------------

Jeg kan simpelthen ikke få øje på hvor jeg skal angive tabelnavn og
tabelfelter til den forespørgsel den skal lave?

/Jette



This archive was generated by hypermail 2b30 : Thu 30 Nov 2006 - 23:00:03 CET