Version Information

[ec2-user@asw-host]$ sudo apachectl -v
Server version: Apache/2.4.46 (Amazon)
Server built:   Aug 24 2020 18:40:26

Modules loaded

[ec2-user@aws host]$ sudo apachectl -M
Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 access_compat_module (shared)
 actions_module (shared)
 alias_module (shared)

Running Config

[ec2-user@aws host]$ sudo apachectl -S
VirtualHost configuration:
*:80                   myhost (/etc/httpd/conf/httpd.conf:45)
*:8443                 myhost (/etc/httpd/conf.d/nss.conf:83)
*:443                  is a NameVirtualHost
         default server myhost (/etc/httpd/conf/httpd.conf:54)
         port 443 namevhost myhost (/etc/httpd/conf/httpd.conf:54)
                 alias www.myhost.com
         port 443 namevhost myhost (/etc/httpd/conf.d/ssl.conf:56)
ServerRoot: "/etc/httpd"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/log/keep/error_log"
Mutex authdigest-opaque: using_defaults
Mutex watchdog-callback: using_defaults
Mutex proxy-balancer-shm: using_defaults
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex authdigest-client: using_defaults
Mutex lua-ivm-shm: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex authn-socache: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/var/run/httpd/" mechanism=default
Mutex mpm-accept: using_defaults
Mutex cache-socache: using_defaults
PidFile: "/var/run/httpd/httpd.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="apache" id=61
Group: name="apache" id=6`

 

Leave a Reply