CGI Does not seem to be working
Linux newbie here. I got everything up and running on my Linux Redhat 9.0 distribution except for one thing...CGI scripts on my Apache server. I made sure that the scripts had the right permissions, checked my httpd.conf file to make sure that the default CGI directory was /var/www/cgi-bin. I try to execute a simple hello world script and get a server error. I checked the log and it says "premature end of script headers." I assume this means that the CGI has not been properly configured on my Apache. I executed httpd -l and did not see the mod_cgi or mod_ssi on there, and I hear that's what is needed to run CGI. The modules are there in the modules directory of my apache...how do I get them in my Apache compilation? A line of code in my httpd.conf file perhaps? Any help would be greatly appreciated. Thanks!