天天看點

Bugzilla+Windows server+xampp 安裝問題彙總

基本安裝安裝網上的教程都能成功

遇到的問題主要有三點:

1、cgi檔案解析不成功,參照官網的說明是能解決的

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

Bugzilla+Windows server+xampp 安裝問題彙總

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 :                  [email protected]

mail_delivery_method :         SMTP

mailfrom :                     [email protected]

sendmailnow:                   on

smtpserver :                   

smtp.163.com 

smtp_username:                 [email protected]

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>

我大緻就遇到了這三種問題,希望對大家有所幫助

繼續閱讀