cgi help on Nagios 1.0
Tony
nagios at cerbernet.co.uk
Fri Feb 7 15:56:34 CET 2003
You do a #pwd in the directory that the cgi's are in and that says
"/usr/local/nagios/cgi"
Your apache config aliases /nagios/cgi-bin/ to /usr/local/nagios/sbin/,
but your cgi's are in /usr/local/nagios/cgi.
Think perhaps you should rename /usr/local/nagios/cgi to
/usr/local/nagios/sbin/.
Or change the alias in the apache conf file.
Tony
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of jonejr
> Sent: 07 February 2003 14:16
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] cgi help on Nagios 1.0
>
> Hello nagios-users,
>
> I can't, for the life of me, get anything beyond the Home and
> Docuementation buttons to work.
> http://MyFQDN/nagios/ gives the interface.
> Redhat 2.1 AS (uname -a output -->Linux p082207 2.4.9-e.3 #1 Fri May 3
17:02:43
> EDT 2002 i686 unknown
>
>
> I have run the -v option to test the CFGs.
> ps -ef | grep nagios shows it running.
> I did a stop, start, and a restart.
> I have an .htaccess file in /usr/local/nagios/etc and ../html but it
> does not prompt for user authentication.
>
> I have NOT rebooted this server. I HAVE done a /etc/rc.d/init.d/httpd
restart several
> times.
>
> I have pages and pages of printouts. :( No help
> I have 2 PDFs also, no help.
>
> It would seem that I have some cgi-bin issues.
> The requested URL /nagios/cgi-bin/tac.cgi was not found on this
server.
> Apache/1.3.23 Server at MyFQDN Port 80
>
> And yet...
> # ll tac.cgi
> -rwxr-xr-x 1 nagios nagios 415779 Feb 6 06:40 tac.cgi
> # pwd
> /usr/local/nagios/cgi
>
> from my httpd.conf file...
> ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/"
> <Directory "/usr/local/nagios/sbin/">
> AllowOverride AuthConfig
> Options ExecCGI
> Order allow,deny
> Allow from all
> </Directory>
>
>
>
> So close I can taste it....Please advise.
>
> --
> John R. Jones
>
> Oracle and Citrix Administrator
> General Atomics, Aeronautical Systems, Inc.
> http://www.gat.com/asi/home.html
> PGP Fingerprint=
> 1A6C 6CFA 0064 52D8 B98C 5A72 8783 5845
>
> 2/7/2003
> 5:55 AM
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
More information about the Users
mailing list