Jul-18-2018, 02:18 AM
Output:ls -la /Library/WebServer/CGI-Executables/
Output:drwxr-xr-x 5 root wheel 170 Jul 16 22:14 .
drwxr-xr-x 5 root wheel 170 Jul 15 22:56 ..
-rw-r--r-- 1 root wheel 1074 Dec 17 2012 printenv.vbs
-rw-r--r-- 1 root wheel 1133 Dec 17 2012 printenv.wsf
-rwxr-xr-x@ 1 xiayao staff 160 Jul 16 22:03 test.py
Output:ls -la /var/log/apache2
Output:drwxr-xr-x 4 root wheel 136 Jul 15 22:52 .
drwxr-xr-x 72 root wheel 2448 Jul 17 21:45 ..
-rw-r--r-- 1 root wheel 2287 Jul 17 13:40 access_log
-rw-r--r-- 1 root wheel 1015 Jul 16 08:19 error_log
Output:cat /var/log/apache2/error_log
Output:AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.220. Set the 'ServerName' directive globally to suppress this message
[Sun Jul 15 22:52:09.268721 2018] [mpm_prefork:notice] [pid 37486] AH00163: Apache/2.4.28 (Unix) configured -- resuming normal operations
[Sun Jul 15 22:52:09.269014 2018] [core:notice] [pid 37486] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Jul 15 23:03:45.282062 2018] [mpm_prefork:notice] [pid 37486] AH00169: caught SIGTERM, shutting down
AH00557: httpd: apr_sockaddr_info_get() failed for my-macbook
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[Mon Jul 16 08:19:25.383625 2018] [mpm_prefork:notice] [pid 112] AH00163: Apache/2.4.28 (Unix) configured -- resuming normal operations
[Mon Jul 16 08:19:25.383908 2018] [core:notice] [pid 112] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'