From owner-freebsd-ports Tue Feb 12 14:30:30 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B9F4437B416 for ; Tue, 12 Feb 2002 14:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1CMU1N29135; Tue, 12 Feb 2002 14:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EED0A37B419 for ; Tue, 12 Feb 2002 14:22:58 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1CMMwj28133; Tue, 12 Feb 2002 14:22:58 -0800 (PST) (envelope-from nobody) Message-Id: <200202122222.g1CMMwj28133@freefall.freebsd.org> Date: Tue, 12 Feb 2002 14:22:58 -0800 (PST) From: Nicholas Paufler To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/34887: Apache modules installed from ports with mod_ssl only work in httpds Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 34887 >Category: ports >Synopsis: Apache modules installed from ports with mod_ssl only work in httpds >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 12 14:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Nicholas Paufler >Release: 4.5-RELEASE >Organization: >Environment: FreeBSD fnord.incentre.net 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Tue Feb 12 14:26:22 MST 2002 root@fnord.incentre.net:/usr/src/sys/compile/FNORD i386 >Description: Install Apache-1.3.22-mod-ssl from ports. Install other Apache modules from ports (i've found with _at least_ with mod_frontpage, mod_dav, and mod_gzip). You'll find that the lines added to the httpd.conf file in the AddModule and LoadModule sections get added inside of the IfDefine SSL sections instead of in the main sections hence those modules will only load if SSL is enabled. >How-To-Repeat: Install apache-mod_ssl and then other apache modules. Happens every time. >Fix: The routine that adds the AddModule and LoadModule lines to httpd.conf needs to be intelligent enough to know not to add the module lines inside of the IfDefine SSL section. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message