您的位置:首页 > 其它

Bugzilla+Windows server+xampp 安装问题汇总

2017-08-09 10:07 351 查看
基本安装安装网上的教程都能成功

遇到的问题主要有三点:

1、cgi文件解析不成功,参照官网的说明是能解决的

could't create child process:720002: XXXX.cgi


https://bugzilla.readthedocs.io/en/latest/installing/apache-windows.html#apache-windows
You must now edit the Apache configuration file C:\Apache24\conf\httpd.conf and do the following steps:

1 Uncomment LoadModule cgi_module modules/mod_cgi.so at the beginning of the file to enable CGI support.

2 Uncomment AddHandler cgi-script .cgi to register .cgi files as CGI scripts. For this handler to work, you must create a key in the Windows registry named 

3 HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command with the default value pointing to the full path of perl.exe with a -T parameter. For example C:\Perl\bin\perl.exe -T if you use ActivePerl, or C:\Strawberry\perl\bin\perl.exe -T if you use Strawberry Perl.

***************Add an Alias and a Directory for Bugzilla:

Alias "/bugzilla/" "C:/bugzilla/"
<Directory "C:/bugzilla">
ScriptInterpreterSource Registry-Strict
Options +ExecCGI +FollowSymLinks
DirectoryIndex index.cgi index.html
AllowOverride All
Require all granted
</Directory>

2、解决发送邮件的问题:可以在./data/params里面配置

 在..\data\params设置如下参数:

maintainer :                  XXXX@163.com

mail_delivery_method :         SMTP

mailfrom :                     XXXXXX@163.com

sendmailnow:                   on

smtpserver :                   smtp.163.com 

smtp_username:                 XXXXXX@163.com

smtp_password :                ********** 

注意发邮件的邮箱得开启SMTP服务

3、要配置多个端口,参看网上XAMPP配置多端口访问教程。

/apache/conf/etc/httpd_vhost.conf

最简单的配置方式就行

<VirtualHost *:9888>

DocumentRoot "C:/XAMPPdocs/wordpress"

ServerName localhost

</VirtualHost>

如果出现403 forbidden错误,

在apache/httpd.conf,约225行左右:

改成:

<Directory />

    Options FollowSymLinks

    AllowOverride None

    Order deny,allow

    Allow from all
</Directory>

我大致就遇到了这三种问题,希望对大家有所帮助
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: