From owner-freebsd-questions@FreeBSD.ORG Thu Dec 30 13:09:06 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90DA216A4CE for ; Thu, 30 Dec 2004 13:09:06 +0000 (GMT) Received: from male.aldigital.co.uk (male.thebunker.net [213.129.64.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id A43FE43D6D for ; Thu, 30 Dec 2004 13:09:05 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by male.aldigital.co.uk (Postfix) with ESMTP id F378B97785; Thu, 30 Dec 2004 13:09:01 +0000 (GMT) Received: from [127.0.0.1] (localhost [127.0.0.1])iBUD90FK005069; Thu, 30 Dec 2004 13:09:01 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <41D3FDE7.1040409@infracaninophile.co.uk> Date: Thu, 30 Dec 2004 13:08:55 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla Thunderbird 1.0 (X11/20041229) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Micah Bushouse References: <1104361096.3531.30.camel@localhost> In-Reply-To: <1104361096.3531.30.camel@localhost> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5D79112592D9B93F1D0CF7F5" cc: freebsd-questions@freebsd.org Subject: Re: apache's mod_log_sql from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 13:09:06 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5D79112592D9B93F1D0CF7F5 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Micah Bushouse wrote: > Dear List, > > I'm trying to install mod_log_sql 1.18 so that Apache will log into > MySQL instead of a flat file, and I thought I had lucked out when I > saw /usr/ports/www/mod_log_sql! > > Unfortunately, it's giving some grief. As you can tell from below, I'm > using the apache+mod_ssl and mysql41-server ports, whereas mod_log_sql > seems to prefer plain Apache and MySQL 3.23. > > Is there a way to get mod_log_sql integrated with my current setup? Do I > have to edit any of the information in the ports tree entry for > mod_log_sql to reflect these newer versions Apache and MySQL? Finally, > am I better off using the generic compile/install instructions on the > mod_log_sql website? The way this is supposed to work, you should be able to put: WITH_MYSQL_VER= 41 APACHE_PORT= www/apache13-modssl into /etc/make.conf to make the ports do what you want. Most ports depending on Apache or MySQL will respect those. Unfortunately the www/mod_log_sql port is not configured to play ball. While it will obey the APACHE_PORT setting, unfortunately it is hardwired to use mysql323-client -- which could well be because it doesn't work with any other MySQL version. Try www/mod_mylo instead. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK --------------enig5D79112592D9B93F1D0CF7F5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQCVAwUBQdP97Jr7OpndfbmCAQKWHgP/XDJnzVIOr72TcvUnqBJowumko37tyyr9 hg1KplFEItqJbJ4bFdisvxD/10M4imeaZ6vvcfH7VGIdRs9xRG6WEKSOaHByXKTs HsZqsarDdjHRmD2Ff74sv8hUX//B2hTLQmIG3VoH+fUiNWMNN3zWPjLZ7JSvpCl6 2zk7i3dKaEs= =vKk8 -----END PGP SIGNATURE----- --------------enig5D79112592D9B93F1D0CF7F5--