[Tue Aug 06 15:31:25.389867 2019] [cgi:error] [pid 21795] [client 83.78.41.48:51364] End of script output before headers: cgi.cgi
[Tue Aug 06 15:34:05.945545 2019] [cgi:error] [pid 21797] [client 83.78.41.48:51417] AH01215: (2)No such file or directory: exec of '/usr/lib/cgi-bin/cgi.cgi' failed: /usr/lib/cgi-bin/cgi.cgi
[Tue Aug 06 15:34:05.945861 2019] [cgi:error] [pid 21797] [client 83.78.41.48:51417] End of script output before headers: cgi.cgi
[Tue Aug 06 15:43:04.576601 2019] [mpm_prefork:notice] [pid 21790] AH00169: caught SIGTERM, shutting down
[Tue Aug 06 15:44:55.853925 2019] [mpm_prefork:notice] [pid 22117] AH00163: Apache/2.4.18 (Ubuntu) mod_perl/2.0.9 Perl/v5.22.1 configured -- resuming normal operations
[Tue Aug 06 15:44:55.853958 2019] [core:notice] [pid 22117] AH00094: Command line: '/usr/sbin/apache2'
[Tue Aug 06 15:45:02.206748 2019] [cgi:error] [pid 22123] [client 83.78.41.48:51526] AH01215: (2)No such file or directory: exec of '/usr/lib/cgi-bin/cgi.cgi' failed: /usr/lib/cgi-bin/cgi.cgi
[Tue Aug 06 15:45:02.207300 2019] [cgi:error] [pid 22123] [client 83.78.41.48:51526] End of script output before headers: cgi.cgi
[Tue Aug 06 15:45:04.178975 2019] [cgi:error] [pid 22122] [client 83.78.41.48:51528] AH01215: (2)No such file or directory: exec of '/usr/lib/cgi-bin/cgi.cgi' failed: /usr/lib/cgi-bin/cgi.cgi
[Tue Aug 06 15:45:04.179385 2019] [cgi:error] [pid 22122] [client 83.78.41.48:51528] End of script output before headers: cgi.cgi
####
#!/usr/bin/perl
print "Content-Type: text/html\n\n";
print "Hello world";
####
ServerAdmin webmaster@localhost
DocumentRoot /var/www/recordz
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
Include conf-available/serve-cgi-bin.conf
####
Define ENABLE_USR_LIB_CGI_BIN
Define ENABLE_USR_LIB_CGI_BIN
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Require all granted