Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 66679 invoked from network); 11 Dec 2006 15:03:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2006 15:03:02 -0000 Received: (qmail 64860 invoked by uid 500); 11 Dec 2006 15:02:59 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 64846 invoked by uid 500); 11 Dec 2006 15:02:59 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 64835 invoked by uid 99); 11 Dec 2006 15:02:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Dec 2006 07:02:59 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [193.111.201.127] (HELO lon-mail-3.gradwell.net) (193.111.201.127) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Dec 2006 07:02:48 -0800 Received: from magpieway.net ([87.127.17.194] helo=tony-lx.magpieway.net country=GB ident=tony^pop3#vanderhoff$org) by lon-mail-3.gradwell.net with esmtpa (Gradwell gwh-smtpd 1.237) id 457d7300.82e5.62 for users@httpd.apache.org; Mon, 11 Dec 2006 15:02:24 +0000 (envelope-sender ) Date: Mon, 11 Dec 2006 15:02:23 +0000 From: Tony van der Hoff To: users@httpd.apache.org Message-ID: In-Reply-To: References: Mail-Followup-To: users@httpd.apache.org User-Agent: Gemini/2.28k (Qt/3.3.4) (Linux-i686) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] apache serves cgi error as application/x-perl *BUMP* Has no-one any clue about this, please. I'm beginning to tear my har out :( On 7 Dec at 11:54 Tony van der Hoff wrote in message > Hi, > > Apologies if this has been raised before; I couldn't find anything similar > in the faq, nor the last 2 months archives. > > I recently upgraded from Apache 2.0 to 2.2. Adjusted the configuration > appropriately, and mostly everything works fine. > > However, when the server fails to execute a perl cgi script due to, say, > bad permissions, or a script error, i.e. "premature end of script > headers", it appears to generate the correct 500 error page, but serves it > as mime type appication/x-perl, instead of text/html. The previous version > handled this correctly. > > Error-free scripts work fine, so I don't think it's anything related to > ExecCGI, or addhandler. > > This must obviously be a problem with my configuration, but having fiddled > about for a few days, I've not progressed much further. Changing the > mime.types file for .pl to text/html is effective, but it doesnt feel like > the correct solution to the problem. > > Has anyone any hints, please? > -- Tony van der Hoff | mailto:tony@vanderhoff.org Buckinghamshire, England --------------------------------------------------------------------- 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