<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Mehmet Fatih AKBULUT wrote:<br>
<blockquote
cite="mideed667140511101614ib7f4ec7k4417bb7e23b69d52@mail.gmail.com"
type="cite">
<pre wrap="">altough i wrote :
ScriptAlias /nagios/cgi-bin "/usr/share/nagios/cgi-bin/"
<Directory "/usr/share/nagios/cgi-bin">
AllowOverride AuthConfig
Order allow,deny
Allow from all
Options ExecCGI
</Directory>
(and of course Alias /nagios ...)
in my httpd.conf file i still cannot view any .cgi or .pl works on apache :(
when i try to see the result of a simple pl script :
<a class="moz-txt-link-freetext" href="http://127.0.0.1/nagios/cgi-bin/foo.pl">http://127.0.0.1/nagios/cgi-bin/foo.pl</a>
i get this error :
The requested URL /nagios/cgi-bin/foo.pl was not found on this server.
what should i do ?
help me please ...
</pre>
</blockquote>
Are you sure that the directory permissions where foo.pl lives are
correct?<br>
Directories and files must be owned (or proper permissions given) the
user with which the <br>
web server is running (in your case /usr/share/nagios/cgi-bin/).
Directories must allow reading and<br>
searching from the ie at least r_x. The most usual problem in this
scenario is proper permissions<br>
on the directories/files. Start from there.<br>
<br>
<blockquote
cite="mideed667140511101614ib7f4ec7k4417bb7e23b69d52@mail.gmail.com"
type="cite">
<pre wrap="">
by the way : Fedora Core 1 and nagios2.04b
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: <a class="moz-txt-link-freetext" href="http://sourceforge.net/geronimo.php">http://sourceforge.net/geronimo.php</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
<font face="Geneva, Arial, Helvetica, sans-serif" size="2">----------------------------------------------------------------------<br>
Andreas
Kasenides <br>
e-mail: <a href="mailto:Andreas.Kasenides%20at%20cs.ucy.ac.cy">Andreas.Kasenides%at%cs.ucy.ac.cy</a><br>
(replace the %at% above with @)<br>
</font>
</div>
</body>
</html>