Rufinus: Dann sags ihm doch :)

Beitrag lesen

Beim konfigurieren des Apache HTTP Servers 1.3 für Win-NT war ich zum größten Teil auch erfolgreich, nur meine CGI-Scripts laufen noch nicht.
Folgender Text wird beim Aufruf eines Scripts im Browser ausgegeben:
"Couldn't spawn child process."

Hallo, also, in die Access.conf gibt es die zeilen:

d:/apachegroup/apache/cgi-bin should be changed to whatever your ScriptAliased

CGI directory exists, if you have that configured.

<Directory "g:/cgi/">
AddHandler cgi-script .cgi .pl .exe .bat
AllowOverride None
Options None
</Directory>

in der httpd.conf

Don't force a server to exit after it has served some number of requests.

If you do want server's to exit after they have run for a long time (to

help the system clean up after the process), please set this to a pretty

large number - like 10,000. What this will do, is, each child server will

exit after serving 10,000 requests, and another server will take its place.

MaxRequestsPerChild 0

Number of concurrent threads at a time (set the value to more or less

depending on the responsiveness you want and the resources you wish

this server to consume).

ThreadsPerChild 50

in der srm.conf

ScriptAlias: This controls which directories contain server scripts.

Format: ScriptAlias fakename realname

ScriptAlias /cgi-bin/ "g:/cgi/"

"UND DIE WICHTIGSTE"

To use CGI scripts:

AddHandler cgi-script .pl

CU
Rufinus