nagios cgi and apache


 
Thread Tools Search this Thread
Operating Systems Linux nagios cgi and apache
# 1  
Old 06-07-2005
nagios cgi and apache

I'm trying to set up a nagios server.
I have no problem accessing the home page of my nagios server, but can not get into any cgi page.
I've checked the rights, and checked the .htacces file in the /usr/lib/nagios/cgi directory
I've checked all conf files for apache, but i unvariably get:
Forbidden
You don't have permission to access /nagios/cgi-bin/extinfo.cgi on this server.


--------------------------------------------------------------------------------

Apache-AdvancedExtranetServer/2.0.53 (Mandrakelinux/PREFORK-9mdk) Server at 127.0.0.1 Port 80


Where is my problem?

I've tried almost everything.. any new ideas?

Thanx
# 2  
Old 06-07-2005
Did the Apache error log give you any useful clues of the error?
# 3  
Old 06-10-2005
Nagios cgi Authentication

I checked the apache conf with webmin, and found something interesting.
In /etc/httpd/webapps.d i found a file called 12_nagios.conf, that i had forgotten! that fixed everything
Jason
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl cgi pages out of cgi-bin folder in WINDOWS

Hi team, I have a typical problem with cgi pages in apache webserver in WINDOWS I am able to execute(display) the pages that are saved in cgi-bin folder. But I am not able to execute the pages stored in htdocs or other folder other than cgi-bin folder. Could anyone please let me know how... (1 Reply)
Discussion started by: scriptscript
1 Replies

2. Debian

Help me with installing nagvis in nagios (Apache mod_php missing)

Hi Im new in this forum. I have setup a pc with debian, and installed nagios core, with basic functions like pings in all our departments. The plan is to install nagvis and make a map with "pins" on all our departmens, and then pin is green the department is up, and when its red its down. I have... (1 Reply)
Discussion started by: nielsen110
1 Replies

3. Web Development

Apache vhost redirect to a cgi file

Hi guys, I've been trying to figure this out all day however havent managed to as of yet. I have a server called netmon (network monitoring) which runs a multitude of programs to monitor the network. I also have a cname pointing to netmon called smokeping. At the moment to access smokeping... (0 Replies)
Discussion started by: JayC89
0 Replies

4. Web Development

Apache, cgi script run twice when ssl, once when not ssl

I have interesting problem. https:/host/some/x.cgi - this script has run twice when I call this url But http:/host/some/x.cgi work fine, only once. Output is text/plain. If I change output format to the Content-type text/html, then both urls works fine - executed only once. (2 Replies)
Discussion started by: kshji
2 Replies

5. Shell Programming and Scripting

Apache/CGI Bin Accessing mounted SMB share

Hey Guys, I need to copy some files from my Apache server to SMB share ... copy $file,"/Volumes/v1/x/test/$datestamp$name$suffix" Unfortunately this command when executed from Apache/cgi-bin is not able to access mounted volumes .. is there anything that can be done about that ... Can... (1 Reply)
Discussion started by: NDxiak
1 Replies

6. Solaris

apache ErrorDocument 400 /cgi-bin/400.cgi

Hi All, Sorry if the question is trivial for you but, I am new to Apache (2.0.63) and am trying to figure out how to display my 400.cgi. Here is what I have in httpd.conf servername testing DocumentRoot "/usr/local/apache2/htdocs" ErrorDocument 400 /cgi-bin/badrequest-400.cgi Here is... (0 Replies)
Discussion started by: afadaghi
0 Replies

7. Linux

Nagios CGI's not displaying

Hello, I have installed Nagios 2.0b3 and running on Enterprise Linux ES4. I can view the Nagios home page and view the documentation but cannot get into any of the CGI pages. I am getting two different error messages. The first error message is that of Forbidden access. This is simply telling... (7 Replies)
Discussion started by: tekhed
7 Replies

8. UNIX for Dummies Questions & Answers

Howto locate locally installed Perl module for a CGI script in APACHE .htaccess

Hi, I have the following simple CGI script, just containg header: #!/usr/bin/perl -w use CGI ':standard'; use lib "/home/myname/lib/perl5/site_perl/5.8.5/"; use Mail::Sendmail; I also have included this directive in ~/public_html/.htaccess : SetEnv PERL5LIB... (0 Replies)
Discussion started by: monkfan
0 Replies

9. Shell Programming and Scripting

CGI passing arrays/hashes to another CGI script

If I have a Perl CGI script (script01), which fills an array(s) with information and outputs a HTML page with a link to another CGI page (script02); is there anyway to pass the array(s) from "script01" to "script02" when the page visitor clicks the link? Hope that makes sense! :) (2 Replies)
Discussion started by: WIntellect
2 Replies

10. UNIX for Dummies Questions & Answers

Apache Perl/CGI

Can any body help me with apache and cgi i'dont know how iconfigure apache to use cgi... and when i try to start apachectl it says there is no file... please help me...i have apache installed... (1 Reply)
Discussion started by: CreamHarry
1 Replies
Login or Register to Ask a Question