needed for apache 2.4
Well, I haven't been able to get this module to work for me. It compiles fine, but setting up a auth restricted directory just results in a 500. Using this: <Directory "/var/www/localhost/htdocs/test/"> AuthName "My PostgreSQL Authenticator" AuthType basic AuthBasicAuthoritative Off Auth_PG_authoritative on AuthUserFile /dev/null Auth_PG_host localhost Auth_PG_port 5432 Auth_PG_user postgres Auth_PG_database wwwtest Auth_PG_pwd_table valid_users Auth_PG_uid_field username Auth_PG_pwd_field password Auth_PG_encrypted off require valid-user </Directory> Log output: ============================ [Mon Nov 16 15:23:01.015968 2015] [mpm_event:notice] [pid 4003:tid 140169777203072] AH00489: Apache/2.4.16 (Unix) OpenSSL/1.0.2a mod_auth_pgsql/2.0.3 mod_apreq2-20090110/2.8.0 mod_perl/2.0.8 Perl/v5.20.2 configured -- resuming normal operations [Mon Nov 16 15:23:01.016199 2015] [core:notice] [pid 4003:tid 140169777203072] AH00094: Command line: '/usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PERL -D PHP5 -D APREQ -D AUTH_PGSQL -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf' [Mon Nov 16 15:23:14.755650 2015] [authn_core:error] [pid 4007:tid 140169503074048] [client ::1:52850] AH01796: AuthType basic configured without corresponding module =============================== I'm also up for just removing the module as it's been nearly 10 years since it's had an update and Apache has mod_authn_dbd that can use PostgreSQL.
This package has been masked for removal after 2016-03-11.
Package has been removed. commit 31bd551b4294b9dfd39858efc1e8a44b013da966 Author: Aaron W. Swenson <titanofold@gentoo.org> Date: Mon Mar 21 12:08:19 2016 -0400 www-apache/mod_auth_pgsql: Removal www-apache/mod_auth_pgsql was removed per bug 548974. It hasn’t been updated for somewhere around 10 years and has been superseded by mod_authn_dbd for quite some time. Additionally, mod_auth_pgsql is susceptible to severe security bug(s) that have gone unresolved by upstream, which has also disappeared. If you’re still using mod_auth_pgsql, may God have mercy on your soul. Bug: 255033, 548974