>Number: 5250 >Category: os-windows >Synopsis: CGI doesn't work >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Nov 4 06:10:01 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.9 >Environment: Win95 Binary distribution >Description: I compiled with Borland compiler a simple C code like this:
int main(int argc, char *argv[]) { printf("Content-type: text/plain\r\n\r\n"); printf("cgi test\r\n"); exit(0); } Using the default configuratione files, I put the cgi.exe in the cgi-bin directory. Then I try to request this cgi.exe by Netscape 4.05 browser: http://localhost/cgi-bin/cgi? The browser locks up waiting for a reply. No error log in logs directory. I red a lot of FAQ, a lot of bug report, tried what suggested in them like "AddHandler cgi-script .exe" and setting "Options +ExecCGI" for the script alias directory, but I had no improvment. What I have to do? >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]