[root@ora12ee01 ~]# /usr/sbin/apachectl -V
AH00180: WARNING: MaxRequestWorkers of 256 exceeds ServerLimit value of
10 servers, decreasing MaxRequestWorkers to 10.
To increase, please see the ServerLimit directive.
Server version: Apache/2.4.6 ()
Server built: Aug 31 2018 01:03:15
Server's Module Magic Number: 20120211:24
Server loaded: APR 1.4.8, APR-UTIL 1.5.2
Compiled using: APR 1.4.8, APR-UTIL 1.5.2
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-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=256
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/run/httpd/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
●起動
[root@ora12ee01 conf]# systemctl start httpd.service
●情報表示
●テストCGI実行
[root@ora12ee01 conf]# vi /var/www/cgi-bin/first.pl
[root@ora12ee01 conf]# chmod 755 /var/www/cgi-bin/first.pl
[root@ora12ee01 conf]# cat /var/www/cgi-bin/first.pl
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello, World.";
[root@ora12ee02 ~]# curl http://www.oradomain/cgi-bin/first.pl
Hello, World.