Bug 55711 - --enable-foo doesn't enable foo
Summary: --enable-foo doesn't enable foo
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Build (show other bugs)
Version: 2.4.29
Hardware: PC Linux
: P2 regression (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-28 08:33 UTC by Eugène Adell
Modified: 2017-12-26 20:03 UTC (History)
2 users (show)



Attachments
patch for bug 55711 (42.50 KB, patch)
2013-10-28 08:41 UTC, Eugène Adell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.