LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-10-2005, 10:54 AM   #1
hywaydave23
LQ Newbie
 
Registered: Aug 2005
Posts: 17

Rep: Reputation: 0
Cannot access cgi-bin directory for Nagios


When I try to access the cgi-bin directory (http://hostname/nagios/cgi-bin/) I'm prompted to enter a valid username that is defined in the .htaccess file. After I enter my username and password it takes me the an error page that reads:

403 Forbidden
You don't have permission to access /nagios/cgi-bin/ on this server.

In the /var/log/httpd/error_log file I see the following entry:
attempt to invoke directory as script: /usr/local/nagios/sbin/

When I run a "pre-flight" check I do not get any errors, but I did have to remove a bunch of stuff from the minimal.cfg file because I kept getting errors about commands already being defined elsewhere.


Anyone have any suggestions? Thanks.
 
Old 10-12-2005, 07:16 AM   #2
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 339

Rep: Reputation: 31
Check your apache.conf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios & cgi-bin JJX Linux - Software 0 10-12-2005 08:24 AM
Ftp access To Cgi-bin redhatlover Red Hat 3 05-04-2004 05:32 AM
Question on virtual hosts and CGI-BIN directory cgchris99 Linux - General 9 10-11-2002 12:57 PM
no access to cgi-bin within Apache Mackeral Linux - Software 6 05-14-2002 06:15 AM
no access to cgi-bin j-ray Linux - General 0 04-01-2002 08:40 AM


All times are GMT -5. The time now is 02:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration