Definition variables during building of apache2-2.2.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear users,

I am building apache2-2.2.18 from source codes and now the build up result is:
user@testbuild:/home/user/apache2-2.2.18 # ./httpd2 -V
Server version: Apache/2.2.18 (Unix)
Server built:   Jun  2 2011 08:28:57
Server's Module Magic Number: 20051115:27
Server loaded:  APR 1.2.2, APR-Util 1.2.2
Compiled using: APR 1.2.2, APR-Util 1.2.2
Architecture:   32-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_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="/opt/apache"
 -D SUEXEC_BIN="/opt/apache/bin/suexec"
 -D DEFAULT_PIDLOG="/var/log/logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="/var/log/logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd2.conf"
user@testbuild:/home/user/apache2-2.2.18 # cls -r

Build is OK but my questions are:
How I can change variables like DEFAULT_PIDLOG, DEFAULT_ERRORLOG
during the building of apache2?

I know that I can change that variables during the starting of httpd2 like
/opt/apache/bin/httpd2 -D DEFAULT_PIDLOG ....
vim but when I am checking whether httpd2 is running that output is:
linux:~ # ps -ef | grep http
root     30483     1  0 09:03 ?        00:00:00 /opt/apache/bin/httpd2
-f /etc/apache2/conf.d/mod_unity.conf -D
DEFAULT_PIDLOG=/var/run/httpd2.pid
apache   30490 30483  0 09:03 ?        00:00:00 /opt/apache/bin/httpd2
-f /etc/apache2/conf.d/mod_unity.conf -D
DEFAULT_PIDLOG=/var/run/httpd2.pid
apache   30491 30483  0 09:03 ?        00:00:00 /opt/apache/bin/httpd2
-f /etc/apache2/conf.d/mod_unity.conf -D
DEFAULT_PIDLOG=/var/run/httpd2.pid
apache   30492 30483  0 09:03 ?        00:00:00 /opt/apache/bin/httpd2
-f /etc/apache2/conf.d/mod_unity.conf -D
DEFAULT_PIDLOG=/var/run/httpd2.pid
apache   30493 30483  0 09:03 ?        00:00:00 /opt/apache/bin/httpd2
-f /etc/apache2/conf.d/mod_unity.conf -D
DEFAULT_PIDLOG=/var/run/httpd2.pid
apache   30494 30483  0 09:03 ?        00:00:00 /opt/apache/bin/httpd2
-f /etc/apache2/conf.d/mod_unity.conf -D
DEFAULT_PIDLOG=/var/run/httpd2.pid
root     30510 28310  0 09:03 pts/2    00:00:00 grep http
linux:~ #

Is it possible someone hide the -D options so that it will not be
visible over ps -ef output?

Thank you in advance

-- 
Best Regards / S pozdravem
Petr Hracek

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux