Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 87088 invoked by uid 500); 21 Jun 2003 12:37:50 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 87071 invoked from network); 21 Jun 2003 12:37:50 -0000 Message-ID: <3EF451B5.5000602@attglobal.net> Date: Sat, 21 Jun 2003 08:38:13 -0400 From: Jeff Trawick Reply-To: trawick@attglobal.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: "Internal Server Error" on accessing Perl file with Apache 2.0.43 - Linux 7.2 References: <2B721C6525F0D411B1E900B0D0226BDD01B17B53@mohmsg01.ad.infosys.com> In-Reply-To: <2B721C6525F0D411B1E900B0D0226BDD01B17B53@mohmsg01.ad.infosys.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Rahul Kohli wrote: > Now on access the perl file usiing my browser http://servername.domain:port/cgi/printenv.pl > The browser display the "Internal Server Error" page. > > On checking the error_log of apache I could see the line > "premature end of script headers". > > The perl file contain the correct path of perl and has permissions on the files are also correct. But this is a classic permissions problem. Does the web server user id have read/execute permission for the script? Exactly what are the permissions? What happens when you run printenv.pl from the shell?