Help in running CGI with Apache 1.3 on Win32

Help in running CGI with Apache 1.3 on Win32

Post by Phil Duff » Thu, 12 Feb 1998 04:00:00



Hi all,

I am relatively new to the world of setting up my own servers, and am
testing out Apache on windows NT 4.0 as a development server. I have
developed and run some simple cgi which just passes a number from a text
field, performs some calculations then returns the answer. This script works
fine with sambar server on NT, but fails on Apache giving me the error "
Internal server error or misconfiguration error and was unable to complete
your request".

It finds the cgi file and is in the process of returning the data when this
occurs, so I know my paths and alias' are set correctly.

Any help would be greatly appreciated. Thanks in advance.

Phil.

 
 
 

Help in running CGI with Apache 1.3 on Win32

Post by Marc Slemk » Thu, 12 Feb 1998 04:00:00



Quote:>Hi all,
>I am relatively new to the world of setting up my own servers, and am
>testing out Apache on windows NT 4.0 as a development server. I have
>developed and run some simple cgi which just passes a number from a text
>field, performs some calculations then returns the answer. This script works
>fine with sambar server on NT, but fails on Apache giving me the error "
>Internal server error or misconfiguration error and was unable to complete
>your request".

Erm... you don't give any details about how this CGI script is
implemented.

If it is interpreted, eg. a perl script, then the current version of
Apache for Win32 requires that you add a unix-like "#!/path/to/interpreter"
as the first line of the script.

 
 
 

1. HELP : Can't Run Perl and CGI on Apache 1.3b3 for win32 (on win95)

HELP : Can't Run Perl and CGI on Apache 1.3b3 for win32 (on win95)

HI, everybody :-))

I am searching for two (full) days , what is wrong with my machine....

Apache 1.3b3, windows95, perl 5.003 "Build "315" ....

I tried to configure the httpd.conf & access.conf .... unsuccessfuly

I have absolutely no idea about the bug....


An example of CGI program may be useful for me.

I show you my first CGI on apache:

#!/bin/perl
print "content-type: text/plain\n\n";
print <<'end_tag';
<html>
<head>
<title>Big issue about CGI</title>
</head>
<Body>
<br><h5>hello world</h5>

</body>
</html>
end_tag

one more thing : I ask for 127.0.0.1 to see my server.... I don't know
if it is important..

CU. THANKS

2. openssh behavior queries

3. Can't run ~someuser/cgi-bin/somescript apache 1.3 on RH 7.2

4. Starting with base system.....

5. Strange problem with running php from within a cgi program in Apache 1.3

6. local TCP/IP & Apache, Appletalk

7. XBitHack and Apache 1.3.b3 Win32?

8. emc disk, powerpath and aix

9. Running Apache 1.3, with Tomcat 4.0/Jakarta, phpnuke and mysql 3.23.41 BIG ERROR--HELP!

10. I would like to Wrap all CGI's -- using Apache 1.3

11. Apache 1.3 / unix & CGI security

12. How: Apache 1.3, WinNT/95 and CGI-Scripts

13. setting CGI environment variables badly (apache 1.3)