Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 68714 invoked from network); 23 Feb 2007 22:33:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2007 22:33:45 -0000 Received: (qmail 80508 invoked by uid 500); 23 Feb 2007 22:33:44 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 80266 invoked by uid 500); 23 Feb 2007 22:33:43 -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 80255 invoked by uid 99); 23 Feb 2007 22:33:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2007 14:33:43 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [192.48.171.28] (HELO netops-testserver-3.corp.sgi.com) (192.48.171.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2007 14:33:31 -0800 Received: from mtv-amer001e--3.americas.sgi.com (unknown [192.26.64.111]) by netops-testserver-3.corp.sgi.com (Postfix) with ESMTP id A88F190AB7 for ; Fri, 23 Feb 2007 14:33:09 -0800 (PST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 23 Feb 2007 14:31:29 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] Help: GIFs that are in same directory as PERL script are being executed Thread-Index: AcdXmewAxaryv9FRSsavA2VFh8zpyQAAEaeQ From: "Mark Lavi" To: X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Help: GIFs that are in same directory as PERL script are being executed Try taking the execute permissions off all of the non-CGI files. Eg. cd /home/sanscript/public_html/cricket/images/; chmod a-x *gif --Mark=20 Mark Lavi, Enterprise Web Management Team @ SGI mailto:mlavi@sgi.com || phone:+1-650-933-7707 -----Original Message----- From: Stephen Truxton [mailto:struxton@yahoo.com]=20 Sent: Friday, February 23, 2007 2:28 PM To: users@httpd.apache.org Subject: [users@httpd] Help: GIFs that are in same directory as PERL script are being executed Hola! :-) Environment: Apache 1.3 running on Suse Linux 9.0. Background: - Because of my Cricket installation, I've had to put GIFs in the same directory as some perl scripts. - The perl scripts are in a user directory so I had to modify suse_public_html.conf to allow scripts to execute. Issue: - The perl scripts execute just dandy, but Apache is interpreting the GIFs in that directory as executables. At least this is how I'm interpreting the messages in error_log: "[Fri Feb 23 05:56:28 2007] [error] (8)Exec format error: exec of /home/sanscript /public_html/cricket/images/rrdtool.gif failed [Fri Feb 23 05:56:28 2007] [error] [client 10.19.83.200] Premature end of script headers: /home/sanscript/public_html/cricket/images/rrdtool.gif" Has anyone seen this before & know how to correct? Thanks! Stephen Truxton =20 ________________________________________________________________________ ____________ No need to miss a message. Get email on-the-go=20 with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail=20 --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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