Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2006 12:26:39 +0200
From:      riccardo_diago <riccardo.diago@pharmaidea.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Nagios on FreeBSD6.1
Message-ID:  <4541DEDF.3020300@pharmaidea.com>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig3E055365A9FE2AA5B3C09035
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

Hi to all,
I have a problem to setting nagios on my Sun Sparc with FreeBSD 6.1 ...
I think is the web server, because I see nagios's web page, but I cannot
exeute the cgis.
I have this situation in my httpd:
	AddType application/x-httpd-php .php
	AddType application/x-httpd-php-source .phps
	User www
	Group www
	AddHandler cgi-script .cgi
	ScriptAlias /nagios/cgi-bin /usr/local/www/nagios/cgi-bin
	<Directory /usr/local/www/nagios/cgi-bin>
        	Options ExecCGI
		AllowOverride None
		Order allow,deny
		Allow from all
	</Directory>
	Alias /nagios /usr/local/www/nagios/
        <Directory /usr/local/www/nagios/>
                Options None
                AllowOverride none
                Order allow,deny
                Allow from all
        </Directory>
I've already changed permission 777 to all dirs and
I also did:
 chown www:www /usr/local/www/nagios/cgi-bin
 chown www:www /usr/local/www/nagios/
but apache still does want to execute the cgis.


Any ideas?
Have I to deinstall nagios the port and start over again?
or deinstall apache22 ?

Thanks a lot.
Best
rik

--------------enig3E055365A9FE2AA5B3C09035
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFFQd7kxr1SyxMj+4MRAsWDAJ9CE2fnjfJ1yuZm6DjexOYYWyq1yACg0Q1/
2cCOeB3ucRbNjqSJdAe/y9A=
=zILW
-----END PGP SIGNATURE-----

--------------enig3E055365A9FE2AA5B3C09035--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4541DEDF.3020300>