tac.cgi Not Parsing
Posted: Fri Jun 09, 2017 11:04 pm
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,
Again, every .cgi file within cgi-bin works perfectly. tac.cgi is the only cgi file that does not work. 
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>