Mail Archives: cygwin/1998/06/16/18:26:15
Stipe Tolj wrote:
>
> 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.
You'd be wasting your time. 1.3b7 is broken; there is no environment
passed to the script. Go back to 1.3b6 binary unless you can compile
1.3.0. Make sure you uninstall 1.3b7 before reinstalling 1.3b6, or
it won't overwrite the later files.
1.3b7 also does not cd to the script directory as it should.
--
,-/- __ _ _ $Bill Luebkert
(_/ / ) // // DBE Collectibles
/ ) /--< o // // http://www.wgn.net/~dbe/
-/-' /___/_<_</_</_ Mailto:dbe AT wgn DOT net
-
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 -