[Tue Mar 15 18:55:04 2005] [notice] Child 4488: Starting 250 worker
threads.
[Tue Mar 15 18:55:10 2005] [error] [client 127.0.0.1] (OS 3)系统找不到指定的路
径。 : couldn't create child process: 720003: index.cgi
[Tue Mar 15 18:55:10 2005] [error] [client 127.0.0.1] (OS 3)系统找不到指定的路
径。 : couldn't spawn child process: C:/bugzilla-2.18/index.cgi
[Tue Mar 15 18:59:05 2005] [notice] Parent: Received shutdown signal
-- Shutting down the server.
[Tue Mar 15 18:59:05 2005] [notice] Child 4488: Exit event signaled.
Child process is ending.
[Tue Mar 15 18:59:06 2005] [notice] Child 4488: Released the start
mutex
couldn't create child process -- 原来是无法创建子过程。看来是没有找到perl.exe。在这个问题上,安装指南
说:
In order for ScriptInterpreterSource Registry-Strict to work, you also
need to add an entry to the Registry so Apache will use Perl to
execute .cgi files.
Create a key HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command with the
default value of the full path of perl.exe with a -T parameter. For
example C:\Perl\bin\perl.exe -T
Create a key HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command嘛,所以我就创建了
HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI项然后在下面加了一个Command的key。不过既然出错了,不妨试试另
一种理解,创建一个HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command项,再在下面的默认key 上给了一个
C:\Perl\bin\perl.exe -T 。重起apache。果然就ok了。应该这段文档的描述是有问题的。
最后上http://www.glob.com.au/sendmail/ 下载了sendmail,解压到C:\usr\lib下,在
sendmail.ini里面修改smtp_server、default_domain、
auth_username、auth_password(后面两项默认的被用分号注释掉,如果使用的smtp需要身份验证的话就去掉分号并填上正确的
用户名密码),把服务器防火墙的25端口打开。试试改个bug,邮件就发出去了,大功告成。