LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Nagios cgi problem (https://www.linuxquestions.org/questions/linux-software-2/nagios-cgi-problem-391822/)

michieldg 12-12-2005 03:05 AM

Nagios cgi problem
 
Hi,

I've installed Nagios a couple of days ago but I can't get it to work properly. I've installed and configured nagios, but when I load the web interface I get the following error when I click on a link to a cgi file:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


I can't find anything in my Apache error log. I guess this has something to do with the apache configuration. I've put this in my httpd.conf:

ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin

<Directory "/usr/local/nagios/sbin">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>

Alias /nagios /usr/local/nagios/share

<Directory "/usr/local/nagios/share">
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>

Does anyone know what is causing this error?

Thanks,

Michiel


All times are GMT -5. The time now is 06:22 PM.