Cgi-bin problem


#1

Hi all-

Please bear with me as I’m new to Nagios, and for the most part linux.

I am trying to get the web interface setup properly so I can continue the Nagios configuration. I’ve gotten to the point where I can login and see the web interface but none of the cgi is working.

In my browser clicking on any of the links gives me:

Not Found
The requested URL /nagios/cgibin/status.cgi was not found on this server.

In my apache logs I see the following error:
File Does not exist: /usr/local/nagios/share/cgibin

I have double and triple checked my httpd.conf to make sure the proper nagios additions have been made and I’m fairly confident everything there is correct. My hunch is that I used an improper directory while running the ./configure --with-cgiurl=cgiurl

I’m wondering if anyone can confirm this is my problem? If it is, what would be the best route for resolving it?


#2

Problem resolved (I think).

Disabling SELinux gave me what I think is a more appropriate error.

Off to continue configuration.