Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 13178 invoked by uid 500); 9 Apr 2002 15:45:05 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 13167 invoked from network); 9 Apr 2002 15:45:04 -0000 Received: from mail.naisp.net (216.129.152.3) by daedalus.apache.org with SMTP; 9 Apr 2002 15:45:04 -0000 Received: from naisp.net (detroit-ip-6-29.dynamic.ziplink.net [206.15.191.29]) by mail.naisp.net (8.11.6/8.11.6) with ESMTP id g39Fj3K26659 for ; Tue, 9 Apr 2002 11:45:03 -0400 Message-ID: <3CB30C7E.44D8EB14@naisp.net> Date: Tue, 09 Apr 2002 11:45:03 -0400 From: Admin Reply-To: admin@myispnet.net Organization: My ISP Network X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: users@httpd.apache.org Subject: Re: cgi question References: <3CB2ECDA.9F449DEE@naisp.net> <3CB2EE5E.F4CCF657@bourse.ch> <3CB2F233.76CF9A93@naisp.net> <3CB2F662.4B028136@bourse.ch> <3CB2FA61.D2EDF341@naisp.net> <3CB30363.27E4BBE2@bourse.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N and thats why I also respoded in this way... 8)Exec format error: < this tells me...that what I said about the space being inserted, (due to html editors etc) could be the problem...I've had that happen to me on numerous occaisions....finally resorted to using either notepad, or a wonderful free html editor called Arachnophilia in a previous email/post...I also suggested that perhaps his permissions were incorrect Owen Boyle wrote: > Admin wrote: > > > > yes...it's odd...only if you have failed to add the handler/ext " .pl " to that line > > DUHHHHH and THATS exactly why...he is getting the error... > > look again at the extension on the filename...it is: "cart.pl" > > not cart.cgi > > Look at the error message. This is not what happens if you make the > mistake you are describing. > > > [Tue Apr 9 08:42:50 2002] [error] (8)Exec format error: exec of > > /var/www/html/snowbankih/cgi-bin/ihcparts/cart.pl failed > > As I stated in a direct reply, this is caused bby a faulty shebang line > trapping a system error. > > If you request a file which is supposed to be a CGI but you haven't > defined it as a CGI with AddHandler or ScriptAlias, apache will assume > it is a plain file and simply serve it so the client will just get the > perl script in his browser. You will not get an "Exec format error". > > There's no need to get all hot under the collar - we're all trying to > help one another here! > > Rgds, > > Owen Boyle. > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org -- <******** http://www.myispnet.net ********> Admin - My ISP Network admin@myispnet.net ICQ# 7110071 MSN Messenger= myispnet@hotmail.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org