[rt-users] httpd.conf with rt as non document root?

Joe S. jszabo at dilligaff.rutgers.edu
Fri Jul 20 15:47:15 EDT 2001


Thanks.  The 'PerlModule Apache::DBI' line works for you?  I have mysql,
and I get this error, even though I have DBI installed:

3:43PM ~/rt-2-0-0/tools # rcapache start
Starting httpd [ SuSEHelp PHP4 mod_perl ]

Syntax error on line 1019 of /etc/httpd/httpd.conf:
Can't locate Apache/DBI.pm in @INC (@INC contains: /opt/rt2/etc
/opt/rt2/lib /usr/lib/perl5/5.6.0/i586-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i586-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl . /usr/local/httpd/ /usr/local/httpd/lib/perl) at
(eval 47) line 3.

3:44PM /usr/lib/perl5 # find -name DBI.pm
./site_perl/5.6.0/i586-linux/Bundle/DBI.pm
./site_perl/5.6.0/i586-linux/DBI.pm
./site_perl/5.6.0/Apache/Session/Store/DBI.pm


On Fri, 20 Jul 2001, Charlie Watts wrote:

> On Fri, 20 Jul 2001, Joe S. wrote:
>
> > Can someone send an example section of their httpd.conf where they have
> > webrt running in a non document root directory, with maybe an alias or
> > symbolic link?
>
> This is mine:
>
> Alias /rt2/ "/usr/local/rt2/WebRT/html/"
>
> <Directory "/usr/local/rt2/WebRT/html">
>   AllowOverride None
>   Options None ExecCGI FollowSymLinks
>   Order allow,deny
>   Allow from all
>   PerlRequire /usr/local/rt2/bin/webmux.pl
>   PerlModule Apache::DBI
>   SetHandler perl-script
>   PerlHandler RT::Mason
>   Options ExecCGI
> </Directory>
>
> --
> Charlie Watts
> cewatts at frontier.net
> Frontier Internet
> http://www.frontier.net/
>





More information about the rt-users mailing list