Getting the following error while running C++ CGI on browser
Error msg in log Mon Jan 10 14:10:56.092728 2022] [cgi:error] [pid 9743] [client ::1:56104] AH01215: (8)Exec format error: exec of '/usr/local/var/www/cgi-bin/web01.cgi' failed: /usr/local/var/www/cgi-bin/web01.cgi [Mon Jan 10 14:10:56.093580 2022] [cgi:error] [pid 9743] [client ::1:56104] End of script output before headers: web01.cgi
Regards