httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Selmer Ausland <>
Subject [users@httpd] cgi-bin doesn't work in Apache 2.0.45
Date Thu, 10 Apr 2003 22:08:56 GMT
    I need some help getting my Apache 2.0.45 cgi-bin working. I am
running Win NT 4.0 and this is the problem: 

I have a file called in my Apache 2.0.45 cgi-bin

print "Content-type: text/html\n\n";
print "Hello, World."; 

When I type in the url I get an
Internal Server Error. In my error log I get the following:

[Thu Apr 10 16:42:17 2003] [error] [client] (OS 3)The
system cannot find the path specified.  : couldn't spawn child process:

Here is a portion of my httpd.config. It appears to be set up correctly
according to the Apache Tutorial at

# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# The same rules about trailing "/" apply to ScriptAlias directives as
# Alias.
ScriptAlias /cgi-bin/ "D:/Apache2/cgi-bin/"

# "D:/Apache2/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
<Directory "D:/Apache2/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all

This same script works without problem in an Xitami web server
cgi-bin located on the same NT 4.0 server (using a different port 8080).
So obviously something is screwed up in my Apache config. I have perused
the cgi-bin tutorials on Google etc and I am still unable to figure it
out. I am relatively new to Apache so that doesn't help.

Anyone care to help out with this?

Thanks. Selmer Ausland

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message