Mail Archives: cygwin/1998/06/16/04:15:21
Hi yang su,
yang su wrote:
> I use the following test.c as a test and it fails as a cgi call:
> (with same error message)
> ================================================
> #include <stdio.h>
>
> main(){
> printf("Content-type: text/html \n\n");
> printf("<html> \n");
> printf("Hello World!");
> printf("</html> \n ");
> }
> ==================================================
>
> Any further suggestions?
>
> yang
I have compiled your test.c like quoted above and put it into an cgi-bin dir of
the apache/1.3b7 (Win32) and it executed without any problems displaying the
"Hello world!" string.
Is your cygwinb19.dll within your PATH?! Check the printenv script coming with
apache for environment variables set during CGI calls.
Regards, Stipe.
--
stud.rer.pol. Stipe Tolj <tolj AT uni-duesseldorf DOT de>
HTTP Server Development Management
Department of Economical Computer Science
University of Cologne, Germany
http://www-public.rz.uni-duesseldorf.de/~tolj
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -