From owner-freebsd-questions@FreeBSD.ORG Sun Sep 14 02:31:54 2003 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 93B3C16A4BF for ; Sun, 14 Sep 2003 02:31:54 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3A9743FE9 for ; Sun, 14 Sep 2003 02:31:51 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h8E9Uc7T024071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 Sep 2003 10:31:47 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h8E9Ubi2024070; Sun, 14 Sep 2003 10:30:37 +0100 (BST) (envelope-from matthew) Date: Sun, 14 Sep 2003 10:30:37 +0100 From: Matthew Seaman To: "Jason L. Schwab" Message-ID: <20030914093037.GB23622@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Jason L. Schwab" , freebsd-questions@freebsd.org References: <20030913170422.H47710@brittney.jlschwab.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EuxKj2iCbKjpUGkD" Content-Disposition: inline In-Reply-To: <20030913170422.H47710@brittney.jlschwab.com> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-11.5 required=5.0 tests=AWL,BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-questions@freebsd.org Subject: Re: Problems Compiling Apache with Mod_Perl and Mod_SSL 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: Sun, 14 Sep 2003 09:31:54 -0000 --EuxKj2iCbKjpUGkD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 13, 2003 at 05:11:07PM -0500, Jason L. Schwab wrote: > Heya Folks; >=20 > System Specs: >=20 > FreeBSD 4.8-STABLE > OpenSSL 0.9.7a (OS Installed) > Apache 1.3.27 > Mod_Perl 1.28 > Mod_SSL 1.3.28 / 2.8.15 > Perl 5.8.0 (ports/lang/perl58 installed) > (use.perl port) >=20 > I have tried many, many ways to get mod_ssl and mod_perl to > compile on many servers, all with near same configurations, > with absolutely no luck. That's funny. Works fine for me just compiling from ports. You need to start by installing the apache13-modssl port: mod_ssl can't be installed as a stand-alone module to load into plain apache, and furthermore any other modules need to be compiled against the apache13-modssl combination. A very useful trick is to add: APACHE_PORT=3D${PORTSDIR}/www/apache13-modssl into /etc/make.conf, which convinces most apache related ports to depend on the mod_ssl-ified apache. =20 > All I can ever to get to compile is either just mod_ssl, just > mod_perl, and with same configurtation options, I can get it > to say and show and compile SSL and modperl, but "httpd -l" > shows no mod_perl ? only mod_ssl, or vice versa! httpd -l only shows the *compiled in* modules, not the dynamically loaded modules. My httpd with both mod_perl and mod_ssl produces: % httpd -l Compiled-in modules: http_core.c mod_so.c =20 > Altho, when the above happens, apache's configure shows it > adding both SSL and ModPerl uses Config/End Config/Start, > normal stuff, and it even goes thro the directories for the > compile and has no errors. If you can add mod_ssl or mod_perl configuration directives to httpd.conf (outside any block and run 'apachectl configtest' without apache complaining, that means your apache does have the required support. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --EuxKj2iCbKjpUGkD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/ZDU9dtESqEQa7a0RAkkCAJsF8ngwOWnggh6yWVtZQwsqHqLvHACdG9uQ mZaVxf9G18hZKNfwIosQI7g= =GInh -----END PGP SIGNATURE----- --EuxKj2iCbKjpUGkD--