Windows Bugzllia-2.19.3 + apache2.0.54 + perl5.8.4 Configuration

Source: Internet
Author: User
Finally, the Bugzilla-2.19.3 is successfully configured in windows. Although WINXP is used, the following configuration is also available for other Windows systems.
Why choose bugzilla-2.19.3? Because 1. it is the latest :), 2. in the past, the bugzilla version had to be hack, so that it could send emails in Windows (Sendmail is used by default). In this version, two methods are used, one of which is sendmail, in addition, the Perl module net: SMTP is used, so that emails can be directly sent without modification in Windows: O
 
Of course, first of all, you must first download the software package from www.mozilla.org, www.apache.org, and www.perl.org.
After the download, install Apache and Perl. Note that there is an Apache installer integrated with Perl on the Apache website. You can also directly install this version, saving you a lot of configuration.
Download mod_perl.so and search for it online. There are Apache and Integrated Installation packages.
Step 2: Modify Apache configuration httpd. conf
Add
# For libapreq2
LoadFile "Your/Apache/install/DIR/bin/libapreq2.dll"
Loadmodule apreq_module modules/mod_apreq2.so

# For mod_perl
LoadFile "Your/perl/install/DIR/bin/perl58.dll"
Loadmodule perl_module modules/mod_perl.so

Load the necessary modules of Perl.
Next
Addhandler CGI-script. cgi
Make Apache support scripts
<Ifmodule mod_perl.c>
Include CONF/perl. conf
</Ifmodule>
Load Perl configurations
In fact, Perl. conf is very simple and can be used in one sentence:
Perlrequire "Your/Apache/install/DIR/CONF/startup. pl"
Startup. pl content:
Use modperl: util ();
Use apache2: requestrec ();
Use apache2: requestio ();
Use apache2: requestutil ();
Use apache2: serverrec ();
Use apache2: serverutil ();
Use apache2: Connection ();
Use apache2: log ();
Use apache2: const-compile => ': common ';
Use APR: const-compile => ': common ';
Use APR: Table ();
Use apache2: compat ();
Use modperl: Registry ();
1;
In this way, Apache supports Perl scripts.

Step 3: Modify the bugzilla and replace the files in batches! /Usr/bin/perl, changed! Your/perl/install/DIR/bin/Perl.
Step 4: Check whether the bugzilla module is missing. Sadly, I was prompted that the old storable module could not be found during execution. I downloaded the latest one from www.cpan.org. So I had to hack checksetup. Pl to see what was going on. It turns out that the version numbers required by the storable and dynloader modules do not match. It requires version 2.13. I only need version 2.15. What should I do? Easy to handle. Modify storable and change 2.15 to 2.13.
Step 5: Of course you need an email server. Do not ask me what I use as an email server in windows. Check what xmail does!
Step 6: Modify the Apache configuration. Why? Yes, no Bugzilla has been added yet. You can also modify the Perl. conf file and add it to it:
Alias/bugs "Your/Bugzilla/install/DIR /"
<Directory "Your/Bugzilla/install/DIR">
# Sethandler Perl-script
Perlresponsehandler modperl: Registry
Options indexes Multiviews execcgi
Perloptions + parseheaders
Perloptions + setupenv
AllowOverride none
Order allow, deny
Allow from all
</Directory>

Note: I commented out the sethandler Perl-script statement, which causes me to fail installation several times! No, it hurts yourself. It's all from Apache.

Okay, so far, congratulations! It's a success! Experiment now!

Original winion!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.