Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-10-2005, 09:54 AM   #1
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, 06:16 AM   #2
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 351

Rep: Reputation: 31
Check your apache.conf


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 07:24 AM
Ftp access To Cgi-bin redhatlover Red Hat 3 05-04-2004 04:32 AM
Question on virtual hosts and CGI-BIN directory cgchris99 Linux - General 9 10-11-2002 11:57 AM
no access to cgi-bin within Apache Mackeral Linux - Software 6 05-14-2002 05:15 AM
no access to cgi-bin j-ray Linux - General 0 04-01-2002 07:40 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:42 PM.

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