Problem with CGI

Kaplan, Andrew H. AHKAPLAN at PARTNERS.ORG
Wed Oct 9 21:44:03 CEST 2002


The plug-ins are not part of the core program. You will need to download them
from the Nagios website.
Once downloaded you can extract them and run the configure script and associated
make commands
to install them into the Nagios directory.

-----Original Message-----
From: Garrett Anestos [mailto:GANESTOS at fisinc.com]
Sent: Wednesday, October 09, 2002 3:42 PM
To: Kaplan, Andrew H.
Subject: RE: [Nagios-users] Problem with CGI


Thanks Andrew.
 
Quick question for you........
 
Did my configuration look ok for the directories?  Why do I not have a cgi-bin
directory in the Nagios directory?
 
Thanks for your help!
ScriptAlias /netsaint/nagios/cgi-bin/ /netsaint/nagios/sbin/ 
<Directory "/netsaint/nagios/sbin/"> 
    AllowOverride AuthConfig 
    Options ExecCGI 
    Order allow,deny 
    Allow from all 
</Directory> 

 

-----Original Message-----
From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG]
Sent: Wednesday, October 09, 2002 12:18 PM
To: 'Garrett Anestos'
Cc: 'nagios-users at lists.sourceforge.net'
Subject: RE: [Nagios-users] Problem with CGI


One thing I would check to see is if the default cgi-bin directive is either
altered or commented out. I prefer commenting it out rather than altering it in
order to have it available 
as a template. 
The default directive has the heading 
    "/usr/local/apacheversion number/cgi-bin" should be changed to whatever your
ScriptAliased CGI directory exists if you have that configured.
 
Commenting out the default lines and then subsequently restarting the Apache
server may help.

-----Original Message-----
From: Garrett Anestos [mailto:GANESTOS at fisinc.com]
Sent: Wednesday, October 09, 2002 3:07 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Problem with CGI



Hello all- 

I have installed Nagios on a FreeBSD box and I'm having issues access the
website.  I believe my issue resides in the httpd.conf file.  I'm a bit of a
newbie when it comes to Apache.

In the directions it tells me to add this...... 

ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ 
<Directory "/usr/local/nagios/sbin/"> 
    AllowOverride AuthConfig 
    Options ExecCGI 
    Order allow,deny 
    Allow from all 
</Directory> 


and this .............. 

Alias /nagios/ /usr/local/nagios/share/ 
<Directory "/usr/local/nagios/share"> 
    Options None 
    AllowOverride AuthConfig 
    Order allow,deny 
    Allow from all 
</Directory> 

Into the the httpd.conf.  I guess it does not mater where they go as long as the
top one is before the bottom one listed above.  Correct? or do they need to go
in the Aliases section of the httpd.conf file?  If it goes in the script area do
I replace the current ones or just add the new ones?

Now the /usr/local/nagios section in the above ScriptAlias/Alias is different on
my installation.  Mine is /netsaint/nagios/sbin which I have adjusted.  Also I
do not have a /nagios/cgi-bin directory as stated above.....do I need to have
one?  If so do I just use the default Apache one? Do i need to adjust it like
so?

ScriptAlias /netsaint/nagios/cgi-bin/ /netsaint/nagios/sbin/ 
<Directory "/netsaint/nagios/sbin/"> 
    AllowOverride AuthConfig 
    Options ExecCGI 
    Order allow,deny 
    Allow from all 
</Directory> 

And similar with the Alias section?  

Thanks for your help! 

G 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021009/f1be8580/attachment.html>


More information about the Users mailing list