Thanks for your reply SonofThunder.
I double checked myself, and found one mistake that was a typo on my part...somewhere down the line i had use cig-bin instead of cgi-bin, so all the thinks on the Nagios webpage were looking for /nagios/cig-bin/ instead of /nagios/cgi-bin/ hahaha my mistake. However, I actually went and removed the whole install, and started afresh. I actually used several resources this time that all basically give the same isntructions, but with a few minor variations and explanations. One suggested changing use_authentication=1 to use_authentication=0 temporarily just to verify the cgis were working, so the authentication process is not an extra fail point in the process. So I did that.
Once again my nagios website comes up fine, but none of the cgi functions in the navigation bar operate. They are all looking in /nagios/cgi-bin and I have added the appropriate aliasing codes into my apache conf.
I get the following error on all of them:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, email@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.34 Server at mydomain.com Port 80
(NOTE: I change the domain name in the error above for privacy reasons)
Might this be an ownership or permissions issues? All folders and files in /usr/local/nagios are owned by nagios.nagios
sample entry for the cgis:
-rwxrwxr-x 1 nagios nagios 157116 Mar 22 12:03 status.cgi*
My apache error logs shows the following sample error:
[Wed Mar 22 12:52:57 2006] [error] [client 192.168.1.1] Premature end of script headers: /usr/local/nagios/sbin/status.cgi
I appreciate your help, and I think its likely something small I need to change, but cant figure it