From owner-freebsd-ports@FreeBSD.ORG Fri Aug 18 07:49:50 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF56C16A4DD for ; Fri, 18 Aug 2006 07:49:50 +0000 (UTC) (envelope-from novel@smtp.hispeed.ch) Received: from smtp.hispeed.ch (mxout.hispeed.ch [62.2.95.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BECF43D82 for ; Fri, 18 Aug 2006 07:49:08 +0000 (GMT) (envelope-from novel@smtp.hispeed.ch) Received: from coredump.fannet.ru (R1-Vl6-82-116-56-21.fannet.ru [82.116.56.21]) (authenticated bits=0) by smtp.hispeed.ch (8.12.11.20060308/8.12.6/taifun-1.0) with ESMTP id k7I7msrW022297; Fri, 18 Aug 2006 09:48:55 +0200 Date: Fri, 18 Aug 2006 11:49:19 +0400 From: Roman Bogorodskiy To: alan bryan Message-ID: <20060818074919.GD78016@underworld.novel.ru> Mail-Followup-To: alan bryan , freebsd-ports@freebsd.org References: <892916310608171424x2d278a6ak7588509567cdb633@mail.gmail.com> <20060818070230.GC78016@underworld.novel.ru> <892916310608180029g1e0869e7k2387f64c766f7560@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1ccMZA6j1vT5UqiK" Content-Disposition: inline In-Reply-To: <892916310608180029g1e0869e7k2387f64c766f7560@mail.gmail.com> X-PGP: http://people.freebsd.org/~novel/novel.key.asc X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on smtp-03.tornado.cablecom.ch X-Virus-Status: Clean X-DCC-spamcheck-01.tornado.cablecom.ch-Metrics: smtp-03.tornado.cablecom.ch 1377; Body=2 Fuz1=2 Fuz2=2 Cc: freebsd-ports@freebsd.org Subject: Re: Apache 2.2 and Postgres X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2006 07:49:50 -0000 --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 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 > > # > # 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--