Project

General

Profile

Actions

Bug #3359

closed

Apache Httpd Server compiled with wrong directives for config dir

Added by Anton Bontes over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
High
Assignee:
Category:
PBIs
Target version:
Start date:
12/09/2013
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.1
Affected Plus Version:
Affected Architecture:

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"

Actions

Also available in: Atom PDF