tac.cgi Not Parsing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Flash619
Posts: 1
Joined: Fri Jun 09, 2017 10:59 pm

tac.cgi Not Parsing

Post by Flash619 »

Greetings,

I have setup Nagios today and had some issues getting .cgi files to parse on Apache 2.4 within a FreeNAS 11-RC4 jail. Every .cgi file will parse perfectly, and the site as it appears, works flawlessly; However there is one exception, tac.cgi will not parse.

Whenever I try to access the 'Tactical Overview' page, I am prompted to download the tac.cgi instead of Apache's mod_cgi parsing it. I'm not sure why as this file exists within the same directory as all other cgi files that currently work fine.

My Apache config is right here,

Code: Select all

ScriptAlias /nagios/cgi-bin/ /usr/local/www/nagios/cgi-bin/                     
Alias /nagios/ /usr/local/www/nagios/                                           
                                                                                
<Directory /usr/local/www/nagios>                                               
Options None                                                                    
AllowOverride None                                                              
Order allow,deny                                                                
Allow from all                                                                  
AuthName "Nagios Access"                                                        
AuthType Basic                                                                  
AuthUserFile /usr/local/etc/nagios/htpasswd.users                               
Require valid-user                                                              
</Directory>                                                                    
                                                                                
<Directory /usr/local/www/nagios/cgi-bin>                                       
Options ExecCGI                                                                 
</Directory>       
Again, every .cgi file within cgi-bin works perfectly. tac.cgi is the only cgi file that does not work. :|
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: tac.cgi Not Parsing

Post by tmcdonald »

Can you compare the permissions of the CGI files? Run ls -al *.cgi in the directory in which they reside, and post the results.
Former Nagios employee
Locked