Date: Fri, 18 Aug 2006 11:49:19 +0400 From: Roman Bogorodskiy <novel@freebsd.org> To: alan bryan <alan.bryan@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Apache 2.2 and Postgres Message-ID: <20060818074919.GD78016@underworld.novel.ru> In-Reply-To: <892916310608180029g1e0869e7k2387f64c766f7560@mail.gmail.com> References: <892916310608171424x2d278a6ak7588509567cdb633@mail.gmail.com> <20060818070230.GC78016@underworld.novel.ru> <892916310608180029g1e0869e7k2387f64c766f7560@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--1ccMZA6j1vT5UqiK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable alan bryan wrote: > On 8/18/06, Roman Bogorodskiy <novel@freebsd.org> wrote: > >> I compiled ports/apache22 with WITH_PGSQL=3Dyes and also tried > >> WITH_PGSQL=3D/usr/local/pgsql with no changes in result. Am I doing > >> something wrong here? > > > >Hm... www/apache22 port has no WITH_PGSQL knob. I was figthing with > >apache22 + authentification via postgresql few days ago and now it works > >here with www/mod_auth_pgsql2. >=20 > Are you sure about that? Oh, you're right, I missed that. > # pwd > /usr/ports/www/apache22 >=20 > # more Makefile.doc > # Makefile.doc > # Author: Clement Laforet=20 > <clement@FreeBSD.org> > # > # This files contains: > # - make options output > # - apache2 man/docs routines > # > # $FreeBSD: ports/www/apache22/Makefile.doc,v 1.9 2006/05/10 19:47:15=20 > clement Ex > p $ > # >=20 > ## Available knobs: > ## By default, modules are compiled as dynamically loadable (DSO) modules. > ## >=20 > ....blah, blah.... >=20 > ## WITH_(MYSQL|PGSQL|SQLITE): Enable SQL backend *dbd >=20 > So, I saw that and thought that WITH_PGSQL is valid. So, you are > saying that it is not? That would help explain some of the problems > I'm seeing. >=20 > I could use (and have in the past on apache 2.0) www/mod_auth_pgsql2 > but I was getting "No Authn provider configured" with the following > ..htaccess: Yeah, I had the same error. It fixed by placing line "LoadModule auth_pgsql_module libexec/apache22/mod_auth_pgsql.so" before other "LoadModule" entries (that sound rather weird, yes). > AuthName "Administration Area" > AuthType basic >=20 > Auth_PG_host localhost > Auth_PG_port 5432 > Auth_PG_encrypted on > Auth_PG_user pgsql > Auth_PG_database dbname > Auth_PG_pwd_table users > Auth_PG_uid_field username > Auth_PG_pwd_field password >=20 > require user username >=20 > which worked fine in apache 2.0. So, what parts of the new auth stuff > do you have loaded in your httpd.conf that you don't get that error? > It sounds like I was getting some of the new auth stuff to start > trying to do things as a result of the AuthType basic line but I'm not > sure what else to put there. Can you share some of your setup > details? >=20 > Thanks! >=20 > --Alan > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" --1ccMZA6j1vT5UqiK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iQCVAwUBROVw/4B0WzgdqspGAQIfogQAw0Hrj7Cp39xSpE82rNNjOZXyXvQlUdUm Vx79hOqBfryVrCc8YdCXsCiUmyuP2pztpIZCCvz1xkZIRtsiXoVSk+Mj8/RNthHI CKT2KeccbSTi7QuVigRW2Z5dd2BiHMKEjpCcnX2bt8JNubK/Nj+YtoVRj05aOkOh 74FckUDLcgI= =hYA3 -----END PGP SIGNATURE----- --1ccMZA6j1vT5UqiK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060818074919.GD78016>