Bug 55711

Summary: --enable-foo doesn't enable foo
Product: Apache httpd-2 Reporter: Eugène Adell <eugene.adell>
Component: BuildAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: regression CC: eugene.adell, pixilla
Priority: P2    
Version: 2.4.29   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Attachments: patch for bug 55711

Description Eugène Adell 2013-10-28 08:33:21 UTC
When building on Linux with version 2.4.6, any of the --enable-foo (rewrite,proxy-ajp,..) produces a commented 'LoadModule' line in the httpd.conf.

This is an unexpected behavior since version 2.2 doesn't behave like this, and as the doc says : "By default, all those directives will be commented out except for the modules that are either required or explicitly selected by a configure --enable-foo argument."

All 2.4.X versions have this same problem.

How to reproduce :

./configure --quiet --enable-mods-shared='few rewrite proxy' --enable-rewrite --enable-proxy --enable-proxy-http && make && make install

Result :
...
#LoadModule rewrite_module modules/mod_rewrite.so
Comment 1 Eugène Adell 2013-10-28 08:41:16 UTC
Created attachment 30980 [details]
patch for bug 55711


apply this patch as usually : patch < configure-patch-20131027
Comment 2 Eugène Adell 2017-12-26 20:03:07 UTC
The patch was for 2.4.6 but as for 2.4.29 it cannot be applied anymore, because too many things have changed in the configure script since 2.4.6.

The problem is still here anyway. Either the doc is wrong ( https://httpd.apache.org/docs/2.4/programs/configure.html ), or it is a regression as 2.2.X behaved differently for the very same configure options. This is why Importance is now set to Regression instead of Minor.