×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

求救:when start apache server, got "unkown command 'PerlModule' for apache::DBI. this is for rt3 installation.

本文发表在 rolia.net 枫下论坛linux 9.0, perl 5.80
i 've remove the apache 2.0 and install the version 1.3.28 with mod_perl the command like this:

% tar xzvf apache_x.x.x.tar.gz
% tar xzvf mod_perl-x.xx.tar.gz
% cd mod_perl-x.xx
% perl Makefile.PL APACHE_SRC=../apache_x.x.x/src USE_APACI=1 DO_HTTPD=1 EVERYTHING=1
% make && make test && make install
% cd ../apache_x.x.x
% make install

the module apache::DBI is present in system.

in apache, use default httpd.conf with those lines below:

<VirtualHost my.ip.address>
ServerName my.rt.server.hostname
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8

PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>

for those whom know about rt3, all componants require are all found. some of them using CPAN auto installation, some of them using tarballs.

any idea...???

thanks更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / 求救:when start apache server, got "unkown command 'PerlModule' for apache::DBI. this is for rt3 installation.
    本文发表在 rolia.net 枫下论坛linux 9.0, perl 5.80
    i 've remove the apache 2.0 and install the version 1.3.28 with mod_perl the command like this:

    % tar xzvf apache_x.x.x.tar.gz
    % tar xzvf mod_perl-x.xx.tar.gz
    % cd mod_perl-x.xx
    % perl Makefile.PL APACHE_SRC=../apache_x.x.x/src USE_APACI=1 DO_HTTPD=1 EVERYTHING=1
    % make && make test && make install
    % cd ../apache_x.x.x
    % make install

    the module apache::DBI is present in system.

    in apache, use default httpd.conf with those lines below:

    <VirtualHost my.ip.address>
    ServerName my.rt.server.hostname
    DocumentRoot /opt/rt3/share/html
    AddDefaultCharset UTF-8

    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl

    <Location />
    SetHandler perl-script
    PerlHandler RT::Mason
    </Location>
    </VirtualHost>

    for those whom know about rt3, all componants require are all found. some of them using CPAN auto installation, some of them using tarballs.

    any idea...???

    thanks更多精彩文章及讨论,请光临枫下论坛 rolia.net
    • forget it..., i found the solution.
      in mod_perl installation, EVERYTHING=3D1

      BTW, Apache 2.0's default owner is nobody, apache 1.3.28's default owner is www.

      httpd -l for module include with the server.mod_perl module is mod_perl.c