[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [UNSURE] Re: [UNSURE] Re: apache auth pgsql




On May 28, 2007, at 11:02 AM, Roberto C. Sánchez wrote:

On Mon, May 28, 2007 at 07:26:05AM -0400, Tom Allison wrote:
Someone suggested using mod_authn_dbd with seemed easier to impliment
than this and it's part of the apache2 installation, which was also a
plus for it.

That was me :-)

Only problem is, the module is loaded but the Directives aren't
recognized in httpd.conf.
Example: 'DBDriver pgsql' is not recognized.
Since this is "step #1" in the configuration I'm kind of at a loss on
how to proceed.

Hmm.  What exactly appears in the error log?


$ sudo /usr/sbin/apache2ctl -t
Syntax error on line 6 of /etc/apache2/httpd.conf:
Invalid command 'DBDriver', perhaps misspelled or defined by a module not included in the server configuration



sudo /usr/sbin/apache2ctl -M 2>&1 | grep auth
auth_basic_module (shared)
authn_dbd_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)






Reply to: