You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Frederico Bohne <qu...@vortex.ufrgs.br> on 1999/09/01 03:20:02 UTC

os-linux/4941: cgi-bin directory or cgi script file name not found.

>Number:         4941
>Category:       os-linux
>Synopsis:       cgi-bin directory or cgi script file name not found.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Aug 31 18:30:01 PDT 1999
>Last-Modified:
>Originator:     quiron@vortex.ufrgs.br
>Organization:
apache
>Release:        1.3.6
>Environment:
Linux katana.dojo.net 2.2.5-23cl #1 sex jul 2 00:31:56 EST 1999 i586 unknown
>Description:
In a page (.html) exists a command <!--#exec cgi="/cgi-bin/counter" -->
The page is loaded but the counter not register a number and not increment
a visit in access_count file.
in apache�s erro_log look this:
[Tue Aug 31 21:41:17 1999] [error] (2)File or directory not found: exec
 of /home/httpd/cgi-bin/counter failed
[Tue Aug 31 21:41:17 1999] [error] [client 172.28.1.1] Premature end of script 
headers: /home/httpd/cgi-bin/counter

All .conf file are right. This script run with apache-1.3.3. with no problems.
>How-To-Repeat:

>Fix:
something in mod_alias ou mod_cgi, im not sure!
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]