How can I know which all options were used while compiling a apache binary.
# /usr/local/apache/bin/httpd -v
Server version: Apache/2.2.17 (Unix)
Server built: Feb X 2XXX XX:29:08
Cpanel::Easy::Apache v3.2.0 rev5291
How can I know which all options were used while compiling a apache binary.
# /usr/local/apache/bin/httpd -v
Server version: Apache/2.2.17 (Unix)
Server built: Feb X 2XXX XX:29:08
Cpanel::Easy::Apache v3.2.0 rev5291
you can activate the server info handler page:
LoadModule info_module modules/mod_info.so
<Location /server-info>
SetHandler server-info
Order deny,allow
Allow from all
</Location>
gives you a lot of output about loaded modules, and this info:
Server Built 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 SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/etc/httpd" -D SUEXEC_BIN="/usr/sbin/suexec" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf"
in my case
you may add
deny from all
allow from yourip
to restrict access
wrong forum btw
cheers