I've managed to setup Nagios, at least, the configuration files are all accepted and I can get into the webinterface. I can access the documentation from the webinterface.
The problem starts as soon as I click one of the links that calls a cgi script, I get an internal server error in my browser. In my weblog (apache2), I find the message: premature end of script headers: tac.cgi, referer: (the ip address of my machine). I tested cgi functionality on my apachebox, I also tripplechecked the entries in the httpd.conf related to nagios.
So just out of curiosity I opened one of the cgi files of nagios in a texteditor, it does not look like cgi script at all but is filled with a load of strange characters. Now I'm not a cgi guru but as far as I know, cgi script need to be plain ascii, right?
My second question would be, how did these cgi's become mangled and is there an easy way to replace them?