Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 45215 invoked by uid 500); 12 Sep 2002 11:58:51 -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 45150 invoked from network); 12 Sep 2002 11:58:51 -0000 Received: from ns0b.swx.com (146.109.240.235) by daedalus.apache.org with SMTP; 12 Sep 2002 11:58:51 -0000 Received: from gate0b.unix.swx.ch (gate0b [192.168.252.145]) by ns0b.swx.com (8.9.3+Sun/8.9.3) with ESMTP id NAA10326 for ; Thu, 12 Sep 2002 13:58:50 +0200 (MEST) Received: from SOMEXEVS001.ex.ordersx.org (localhost [127.0.0.1]) by gate0b.unix.swx.ch (8.9.3+Sun/8.9.3) with ESMTP id NAA07713 for ; Thu, 12 Sep 2002 13:58:50 +0200 (MEST) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Thu, 12 Sep 2002 13:58:49 +0200 Message-ID: <484A6CA492BE654395D208B1D8D5393972F65C@SOMEXEVS001.ex.ordersx.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] CGI-problem meant to be configuration issue? Thread-Index: AcJaUp/SzK9mtsmjRTqhr2Lp2ykfPgAACAdw From: "Boyle Owen" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] CGI-problem meant to be configuration issue? 500 does not look good - it means "Internal Server Error"... The problem is with the script. It is not working in the CGI = environment. Remember that the CGI shell is a basic shell with none of = the environment variables that you set in .cshrc etc. Things to check: - does it rely on any environment variables? If so, import them with = $ENV{VARIABLE-NAME} =3D "whatever"; - does it open any files or call any other programs using a relative = path - is apache running on the same machine as your command line shell (e.g. = /usr/bin might be different) Rgds, Owen Boyle >-----Original Message----- >From: Deac Nkisetlein [mailto:tweeg.news@gmx.de] >Sent: Donnerstag, 12. September 2002 13:50 >To: users@httpd.apache.org >Subject: RE: [users@httpd] CGI-problem meant to be configuration issue? > > >Hi. > >I tried ScriptLog and when I request the script via browser, I >do get the following in that logfile: > >-snip >%% [Thu Sep 12 13:43:56 2002] GET /path/to/my/cgi/mycgi.cgi HTTP/1.1 >%% 500 /path/to/my/cgi/mycgi.cgi >%request >Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, >application/vnd.ms-powerpoint, application/vnd.ms-excel,=20 >application/msword, */* >Accept-Language: de >Accept-Encoding: gzip, deflate >User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) >Host: xx.xx.xx.xx:8080 >Connection: Keep-Alive >Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxx >%response >-snip > >Shouldnt there be something behind %response? >And I think the "500" in the very first line doesnt look good either? > >But why....? :( > >Regards > >--=20 >GMX - Die Kommunikationsplattform im Internet. >http://www.gmx.net > > >--------------------------------------------------------------------- >The official User-To-User support forum of the Apache HTTP=20 >Server Project. >See for more info. >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org >For additional commands, e-mail: users-help@httpd.apache.org > > --------------------------------------------------------------------- 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 " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org