<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">I could upgrade to apache2, but there is embperl built into apache as well, that make me a bit lazy to upgrade it.<br>How do you add cgi to apache(1.3) support?<br>Thanks<br>SW<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: "Valdinger, Stephen (DOV, MSX)" <svalding@doverchem.com><br>To: Live Great <livegreat007@yahoo.com>; nagios-users@lists.sourceforge.net<br>Sent: Friday, September 28, 2007 10:41:06 PM<br>Subject: RE: [Nagios-users] nagios' cgi<br><br>


 
 

<style>
<!--
 _filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;color:navy;}
 _filtered {margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {}
-->
</style>



<div class="Section1">

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">You need to add support for cgi to your
apache configuration. It may be worth you upgrading to Apache2, depending on
what version of Nagios and the plugins you are running? Can you supply us with
that information please? It may be beneficial to us in helping you solve this
problem. </span></font></p> 

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">  </span></font></p> 

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Stephen</span></font></p> 

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">  </span></font></p> 

<div>

<div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr tabindex="-1" align="center" size="2" width="100%">

</span></font></div>

<p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> Live Great
[mailto:livegreat007@yahoo.com] <br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, September 27, 2007
8:17 PM<br>
<b><span style="font-weight: bold;">To:</span></b>
nagios-users@lists.sourceforge.net<br>
<b><span style="font-weight: bold;">Subject:</span></b> [Nagios-users] nagios'
cgi</span></font></p> 

</div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">  </span></font></p> 

<div>

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi,<br>
<br>
I have installed nagios and its plugins in freebsd.<br>
Restarted apache (1.3), and navigated to the nagios webpages of the website, it
does display the main page correctly.<br>
However when I click any option in the left hand side of the main page, it
popup a download screen and asked me whether I want to download the cgi
program. <br>
The httpd.conf has the following nagios configuration lines written:<br>
   <Directory /usr/local/www/nagios><br>
     Order allow,deny<br>
     Allow from all<br>
   </Directory><br>
<br>
   <Directory /usr/local/www/nagios/cgi-bin><br>
     AddHandler cgi-script .cgi<br>
     Options ExecCGI<br>
   </Directory><br>
<br>
  ScriptAlias /nagios/cgi-bin/ /usr/local/www/nagios/cgi-bin/<br>
  Alias /nagios/  /usr/local/www/nagios/<br>
<br>
Note, the apache running in my system has embedded perl module built in.<br>
I also attached a screenshoot of the popup screen when I click on any option on
the left hand side of the nagios main page.<br>
<br>
Your suggestion is much appreciated.<br>
<br>
Thanks<br>
SW</span></font></p> 

</div>

</div>

</div>

</div><br></div></div></body></html>