Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 42420 invoked by uid 500); 1 Jul 2002 14:49:54 -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 42409 invoked from network); 1 Jul 2002 14:49:54 -0000 Received: from i.meepzor.com (HELO Boron.MeepZor.Com) (204.146.167.214) by 209.66.108.5 with SMTP; 1 Jul 2002 14:49:54 -0000 Received: from Golux.Com (dmz-firewall [206.199.198.4]) by Boron.MeepZor.Com (8.11.6/8.11.6) with ESMTP id g61Envt24948; Mon, 1 Jul 2002 10:49:57 -0400 Message-ID: <3D206E90.C2D0C768@Golux.Com> Date: Mon, 01 Jul 2002 11:00:32 -0400 From: Rodent of Unusual Size Organization: The Apache Software Foundation X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: users@httpd.apache.org Subject: Re: More help with apache and CGI-Perl References: <000d01c2210d$d7766ff0$9a00a8c0@JOHN> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N John Passaniti wrote: > > The "#!" is only used by Unix (and Unix-like) operating systems. In this case, the above is completely false. When executing a script from a command line, it applies -- when activating a script from within Apache, the server will emulate the shell behaviour if the ScriptInterpreterSource directive is set correctly. > Windows doesn't use this mechanism to associate files to their > executables. You can completely ignore the shebang line under Windows > (because Windows itself ignores it). But if you do, for CGI scripts to work you'll need to a) use the same suffix on all scripts (e.g., '.pl') as is registered in Windows for the interpreter, and b) set ScriptInterpreterSource to 'registry'. [a] can be a pain if you have unsuffixed files in /cgi-bin/, for example, or scripts with suffices that aren't registered with Windows. -- #ken P-)} Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/ Author, developer, opinionist http://Apache-Server.Com/ "Millennium hand and shrimp!" --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org