The requested URL /nagios/cgi-bin/ was not found on the serv

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
dan.r
Posts: 2
Joined: Mon Oct 31, 2011 3:30 am

The requested URL /nagios/cgi-bin/ was not found on the serv

Post by dan.r »

Hi guys,
I am fairly certain this is a problem with my apache setup but I can't seem to find any glaring mistakes. Gone over it so many times my head is going to explode.
I've attached it to the post.

Any help would be very much appreciated!

- Daniel
Attachments
httpd.txt
httpd file
(44.38 KiB) Downloaded 488 times
raggmopp
Posts: 17
Joined: Fri Oct 28, 2011 8:42 am

Re: The requested URL /nagios/cgi-bin/ was not found on the

Post by raggmopp »

For your virtual definition, you have DocumentRoot=/usr/local/nagios/share. For ScriptAlias you have /nagios/cgi-bin.

Not sure how you want to setup but here is an example from my config (nagios is installed in /usr/local/nagios)
DocumentRoot=/usr/local
ScriptAlias /cgi-bin /usr/local/nagios/cgi-bin

There is more to it but I believe this will get you started.
dan.r
Posts: 2
Joined: Mon Oct 31, 2011 3:30 am

Re: The requested URL /nagios/cgi-bin/ was not found on the

Post by dan.r »

Thank you for your reply!
I'll give that a shot and get back to you on how it goes.

I appreciate your help.
alcsantiago
Posts: 2
Joined: Mon Jan 09, 2012 1:00 pm
Location: Maraba-PA-BRA

Re: The requested URL /nagios/cgi-bin/ was not found on the

Post by alcsantiago »

raggmopp,
I have the same problem, and I did the same as you said.
Before I've got the 404 error, now I'm getting the 500 error.
How can I fix it?
Thanks
Locked