Running Perl on Windows 7 error
        Posted  
        
            by Eyla
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Eyla
        
        
        
        Published on 2010-04-29T22:50:49Z
        Indexed on 
            2010/04/29
            22:57 UTC
        
        
        Read the original article
        Hit count: 566
        
Greeting, I'm trying to run smaple perl script on windows 7 and I configured IIS 7 to allow activeperl to run but I'm getting this error:
HTTP Error 502.2 - Bad Gateway The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "Hello World. ".
Module CgiModule Notification ExecuteRequestHandler Handler Perl Script (PL) Error Code 0x00000000 Requested URL http://localhost:80/hello.pl Physical Path C:\inetpub\wwwroot\hello.pl Logon Method Anonymous Logon User Anonymous
and here is my perl script :
#!/usr/bin/perl print "Hello World.\n";
please any advice to handle this case!!!
© Stack Overflow or respective owner