Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 54277 invoked from network); 21 Jul 2009 10:14:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jul 2009 10:14:05 -0000 Received: (qmail 49092 invoked by uid 500); 21 Jul 2009 10:15:07 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 49049 invoked by uid 500); 21 Jul 2009 10:15:07 -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 49033 invoked by uid 99); 21 Jul 2009 10:15:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 10:15:05 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [131.111.8.135] (HELO ppsw-5.csi.cam.ac.uk) (131.111.8.135) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 10:14:55 +0000 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from mail.mrc-lmb.cam.ac.uk ([131.111.85.9]:52149 helo=mail.lmb.internal) by ppsw-5.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.135]:25) with esmtp id 1MTCMk-0004ee-Ir (Exim 4.70) for users@httpd.apache.org (return-path ); Tue, 21 Jul 2009 11:14:34 +0100 Received: from cpepc210-3.lmb.internal ([10.14.0.2]) by mail.lmb.internal with esmtp (Exim 4.63) (envelope-from ) id 1MTCMk-0006cG-OB for users@httpd.apache.org; Tue, 21 Jul 2009 11:14:34 +0100 Message-ID: <4A65950A.9020105@mrc-lmb.cam.ac.uk> Date: Tue, 21 Jul 2009 11:14:34 +0100 From: Dave Howorth Organization: MRC Centre for Protein Engineering User-Agent: Thunderbird 1.5.0.10 (X11/20060911) MIME-Version: 1.0 To: users@httpd.apache.org X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] whatever.cgi.html I have a problem with a legacy server - Apache 1.3. The content of the site has CGI scripts scattered around so it has a directive (showing just relevant bits): Options ExecCGI and it has: AddHandler cgi-script .cgi Unfortunately, it also has some static content files with names like: /toplevel/data/whatever.cgi.html Until just now, I didn't know that Apache parsed multiple filename extensions and I guess whoever chose the naming convention for these static files didn't either :( The result is that these files resulted in 500 internal server errors being returned to the users, because Apache tried to interpret them as CGI scripts. To fix it, I tried adding: Options -ExecCGI but that just changed the error message to 403 Forbidden, which I guess means it is still parsing the filename extension in that directory and then refusing to execute it. Is there some way to tell it that all the files in /toplevel/data/ are just to be served as static HTML? I've looked at the FAQ and tried to search but it's an awkard question to search for. And as you'll have gathered, I'm not an Apache expert! Thanks, Dave --------------------------------------------------------------------- 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