Hi All,
I've been trying to get Perl6 Rakudo working with IIS7 on my Vista32 machine. I'm not having much luck at all. I've already got some code working on Apache 2.2 on the same machine.
I'm getting a 502.2 bad gateway error. I've done a failed request trace, but it isn't giving me any more info. Relevant parts:-
Informational
75.
-CGI_LAUNCH
| CommandLine | C:\temp\rakudo\perl6.exe "C:\inetpub\wwwroot\cgi-bin\perl6\hello1.pl6" ? |
| ErrorCode | 0 |
| ProcessId | 1580 |
| ErrorCode |
The operation completed successfully.
(0x0) |
Informational
76.
-CGI_REQUEST_ENTITY_SENT
Warning
77.
-MODULE_SET_RESPONSE_ERROR_STATUS
| ModuleName | CgiModule |
| Notification | 128 |
| HttpStatus | 502 |
| HttpReason | Bad Gateway |
| HttpSubStatus | 2 |
| ErrorCode | 0 |
| ConfigExceptionInfo |
|
| Notification |
EXECUTE_REQUEST_HANDLER |
| ErrorCode |
The operation completed successfully.
(0x0) |
Warning
78.
-SET_RESPONSE_ERROR_DESCRIPTION
| ErrorDescription | The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "". |
This is saying that no headers are coming back, but if I run the command in a command prompt, I get the correct output including headers:-
Content-Type: text/html
hello
I've got the right line endings for windows, and like I said this is working under Apache.
Why isn't IIS picking up the output?
Lyle