From apwww@hyperreal.org Thu Sep 11 01:53:54 1997 Received: (from apwww@localhost) by hyperreal.org (8.8.5/8.8.5) id BAA10502; Thu, 11 Sep 1997 01:53:54 -0700 (PDT) Message-Id: <199709110853.BAA10502@hyperreal.org> Date: Thu, 11 Sep 1997 01:53:54 -0700 (PDT) From: Philippe Collignon Reply-To: philippe.collignon@cediti.be To: apbugs@hyperreal.org Subject: Perl Scripts are not interpreted when they are loaded in browser X-Send-Pr-Version: 3.2 >Number: 1115 >Category: mod_cgi >Synopsis: Perl Scripts are not interpreted when they are loaded in browser >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Sep 11 02:00:04 1997 >Last-Modified: Fri Oct 31 22:22:47 PST 1997 >Originator: philippe.collignon@cediti.be >Organization: >Release: 1.3a1 Windows NT >Environment: I use apache 1.3a1 on windows NT4 for Web Server tests. I installed Perl5 for windows correctly. >Description: All CGI executable work good but Perl scripts are not interpreted when they are loaded in browser. How could I configure Apache to use perl scripts ? Thanks for help. >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: akosut State-Changed-When: Thu Sep 11 11:28:02 PDT 1997 State-Changed-Why: Using Perl scripts with Apache under Windows is not quite the same as other Windows web servers. First, you need to make sure that Apache will execute the scripts, either by putting them into a ScriptAlias directory, or giving them a file extension you've associated with the cgi-script handler using AddHandler. You also need to add the following Unix-style line to the top of your Perl scripts: #!c:\perl\bin\perl.exe (or whatever the path to your Perl binary is) If this is set up correctly, Apache should correctly set up and execute your Perl scripts. Apache 1.3a1 does not work with the PerlIS.dll ISAPI module; 1.3b1 should work better, and should be available shortly. State-Changed-From-To: analyzed-closed State-Changed-By: marc State-Changed-When: Fri Oct 31 22:22:47 PST 1997 State-Changed-Why: Assuming resolved by Alexei's comments. >Unformatted: