From nobody@FreeBSD.org  Tue Feb 12 14:24:04 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id EED0A37B419
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <echofox@discordia.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Apache modules installed from ports with mod_ssl only work in httpds
X-Send-Pr-Version: www-1.0

>Number:         34887
>Category:       ports
>Synopsis:       Apache modules installed from ports with mod_ssl only work in httpds
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ade
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 12 14:30:01 PST 2002
>Closed-Date:    Fri Apr 12 12:25:03 PDT 2002
>Last-Modified:  Fri Apr 12 12:25:03 PDT 2002
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: ade 
State-Changed-When: Tue Mar 12 16:19:17 PST 2002 
State-Changed-Why:  
Without patches, I'm afraid this PR is going nowhere fast.  Sorry. 


Responsible-Changed-From-To: freebsd-ports->ade 
Responsible-Changed-By: ade 
Responsible-Changed-When: Tue Mar 12 16:19:17 PST 2002 
Responsible-Changed-Why:  

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34887 
State-Changed-From-To: feedback->closed 
State-Changed-By: ade 
State-Changed-When: Fri Apr 12 12:24:48 PDT 2002 
State-Changed-Why:  
Timeout (1 month) in feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=34887 
>Unformatted:
