(base) ~$ cd /etc/apache2 (base) apache2$ ls extra httpd.conf.sonoma mime.types httpd.conf httpd.conf~ original httpd.conf.orig httpd.conf~previous other httpd.conf.pre-update magic users (base) apache2$ less httpd.conf (base) apache2$ ps -ax | grep httpd 1540 ?? 0:00.58 /usr/sbin/httpd -D FOREGROUND 1551 ?? 0:00.01 /usr/sbin/httpd -D FOREGROUND 1558 ?? 0:00.01 /usr/sbin/httpd -D FOREGROUND 2464 ttys000 0:00.00 grep httpd (base) apache2$ (base) apache2$ cd (base) ~$ cd /Library/WebServer/CGI-Executables/ (base) CGI-Executables$ ls -l test.cgi -rwxr-xr-x@ 1 root wheel 196 Nov 2 2022 test.cgi (base) CGI-Executables$ ./test.cgi Content-Type: text/plain Running a Bash shell script from cgi-bin successfully! Now it's: Thu Oct 19 12:59:17 MST 2023 User: sandiway Directory: total 952 -rwxr-xr-x@ 1 root wheel 457047 Nov 2 2022 canvasjs.min.js -rwxr-xr-x@ 1 root wheel 697 Nov 7 2022 cmudict.cgi -rw-r--r--@ 1 root wheel 474 Nov 7 2022 cmudict.html -rwxr-xr-x@ 1 root wheel 989 Nov 2 2022 diskspace.cgi -rwxr-xr-x 1 root wheel 166 Oct 31 2018 get.cgi -rwxr-xr-x 1 root wheel 349 Oct 31 2018 get2.cgi -rwxr-xr-x 1 root wheel 136 Oct 31 2018 read.cgi -rwxr-xr-x@ 1 root wheel 196 Nov 2 2022 test.cgi (base) CGI-Executables$ (base) CGI-Executables$ cd (base) ~$ df -g Filesystem 1G-blocks Used Available Capacity iused ifree %iused Mounted on /dev/disk1s5s1 1863 8 81 10% 356050 855357280 0% / devfs 0 0 0 100% 658 0 100% /dev /dev/disk1s2 1863 1 81 3% 2296 855357280 0% /System/Volumes/Preboot /dev/disk1s4 1863 0 81 1% 0 855357280 0% /System/Volumes/VM /dev/disk1s6 1863 0 81 1% 18 855357280 0% /System/Volumes/Update /dev/disk1s1 1863 1770 81 96% 3382533 855357280 0% /System/Volumes/Data map auto_home 0 0 0 100% 0 0 100% /System/Volumes/Data/home (base) ~$