Ticket #1256 (closed defect: worksforme)
CGI in C - 500 Error - cygwin
| Reported by: | anonymous | Owned by: | jan |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.0 |
| Component: | core | Version: | 1.4.15 |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Need User Feedback: | no | Blocking: |
Description
Hi,
I am testing a simple CGI executable written in C. (NOT FCGI).
#include <stdio.h>
int main(void) {
printf("content-type: text/html\n\n"); printf("cgi c\n"); return(0);
}
cc -o test.xx test.c
#### CGI module cgi.assign = ( ".pl" => "/usr/bin/perl",
".xx" => "" )
With the above I get a 500 error
127.0.0.1 127.0.0.1 - [02/Jul/2007:19:15:24 +0000] "GET /test.xx HTTP/1.1" 500 369 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
I am running lighthttpd 1.4.9-1 unde cygwin.
Thanks
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

