Bug #3359
closedApache Httpd Server compiled with wrong directives for config dir
0%
Description
Following command gives:
$ httpd -V
Server version: Apache/2.2.23 (FreeBSD)
Server built: Dec 20 2012 15:58:11
Server's Module Magic Number: 20051115:31
Server loaded: APR 1.4.6, APR-Util 1.4.1
Compiled using: APR 1.4.6, APR-Util 1.4.1
Architecture: 32-bit
Server MPM: Worker
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/pbi/proxy_mod_security-i386"
-D SUEXEC_BIN="/usr/pbi/proxy_mod_security-i386/bin/suexec"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="etc/apache22/mime.types"
-D SERVER_CONFIG_FILE="etc/apache22/httpd.conf"
Where these 2 should be:
-D HTTPD_ROOT="/usr/local"
-D SUEXEC_BIN="/usr/local/bin/suexec"
instead of
-D HTTPD_ROOT="/usr/pbi/proxy_mod_security-i386"
-D SUEXEC_BIN="/usr/pbi/proxy_mod_security-i386/bin/suexec"
and this 1 is maybe missing
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
Updated by Jim Pingle about 11 years ago
- Status changed from New to Rejected
The PBI directories are correct for 2.1 packages. The other values can be solved through configuration changes to the package and not binary changes.