At 1:56 PM +0000 11/25/02, [EMAIL PROTECTED] wrote:
>I've installed Apache 1.3.20 on an Alpha running VMS 7.3-1 and am trying to
>use perl v5.6.
>Perl is installed fine and runs without problem from the command line.
>However, when I try and run a perl cgi script using the browser I get
>"Internal Server Error".
>The problem seems to be that Apache want's to run everything as a DCL
>command file as when I look in ERROR_LOG I see the warning
>"malformed header from script. Bad header=%DCL-W-NOCOMD, no command on l:
>".
>Can someone please tell me how I get round this.

Does your Perl script have a .pl extension?
Have you configured Apache to execute files having a .pl extension with Perl?

I'm no Apache guru so those are just guesses as to what might be your
problem, but this sounds like a side effect of the fact that there is
no execute bit on files and no shebang line processing on VMS.  You
can embed Perl inside of command procedures if you want to, though.
See

<http://www.perldoc.com/perl5.6/pod/perlrun.html#VMS>


-- 
________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Reply via email to