cgi displayed, not executed

Francesc Guasch frankie at etsetb.upc.es
Wed Mar 12 12:22:02 CET 2003


Hi. First of all thank you for this great tool. I've been
using it in a test box and I love it.

Now I have to install it in another server that has an
apache server with mod_perl and HTML::Mason. When I request
a nagios page from /nagios/cgi-bin/, it returns me the
source ELF32 file, it isn't executed by the server.

I installed the same version than the test box and I've
been checking the conf very carefully. I also added more
directives trying to force this execution.

I check that mod_perl nor HTML::Mason were rendering
the files. I added warns in the mason handler and
set SetHandler default-handler directives in the
nagios directories and locations.

I haven't find more tips googling nor searching the
nagios mailing list archives.

Here are the details:

version:  I installed nagios from rpm
   nagios-www-1.0-1
   nagios-1.0-1
   nagios-plugins-1.0b4-2

   apache-1.3.23-11

This is the config:

AddType application/x-httpd-cgi .cgi
ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/

<Directory /usr/lib/nagios/cgi/>
    AllowOverride AuthConfig
    Options ExecCGI
    order deny,allow
    deny from all
    allow from ip_removed
</Directory>

Alias /nagios/ /usr/share/nagios/
<Directory /usr/share/nagios/>
    AllowOverride AuthConfig
    Options None
    order deny,allow
    deny from all
    allow from ip_removed
</Directory>
PerlModule Apache::AuthDBI

Thank you for your time.
-- 
frankie



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list