[rt-users] RT problems
V S R A, Prasad (Prasad)
vsra at lucent.com
Thu Apr 25 06:14:22 EDT 2002
<SNIP>
This looks as if either You haven't configured Your webserver correctly, or
You haven't installed Mason correctly.
<SNIP>
Here's my httpd.conf and mason.conf...
Both Apache and HTML::Mason 1.02 had no problems while configuring. I
deliberately commented out Apache::DBI as it gives error" Can't locate
object method "connect" via package "Apache::DBI::connect" at
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/DBI.pm line 416."
-----------------------------
Include /usr/local/apache/conf/mason.conf
<VirtualHost 135.254.251.3>
ServerName exceed1.iprc.lucent.com
###PerlModule Apache::DBI
PerlFreshRestart On
Alias /rt2/ /usr/local/rt2/WebRT/html/
PerlRequire /opt/rt2/bin/webmux.pl
<Location /rt2>
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>
--------------------------------
and here's my mason.conf
--------------------------
PerlSetVar MasonCompRoot "/opt/rt2/WebRT/html"
PerlSetVar MasonDataDir "/opt/rt2/WebRT/data"
PerlModule HTML::Mason::ApacheHandler
<Directory "/opt/rt2/WebRT/html">
<FilesMatch "(\.html)$">
SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
</FilesMatch>
</Directory>
-------------------------
thanks
-Prasad
More information about the rt-users
mailing list