[rt-users] [Mason] Cannot resolve file to component ?
Emre Bastuz
ebastuz at netcologne.de
Fri Dec 20 08:11:29 EST 2002
Hi,
I´ve been trying to install WebRT on a Debian Linux system.
After some hassle withc mod_perl I decided on going for FastCGI + Apache 1.3.26.
When accessing the URL of the server I get the error
[warn] [Mason] Cannot resolve file to component: /usr/local/rt2/bin/mason_handler.fcgi (is file outside component root?)
Why that? What setting is wrong?
The (IMHO) relevant parts of the config are as follows ...
Apache:
LoadModule fastcgi_module /usr/lib/apache/1.3/mod_fastcgi.so
User www-data
Group www-data
<VirtualHost 192.168.0.1:80>
AddHandler fastcgi-script fcgi
DocumentRoot /usr/local/rt2/WebRT/html
ServerName rt2.mydomain.de
PerlRequire /usr/local/rt2/bin/webmux.pl
FastCgiServer /usr/local/rt2/bin/mason_handler.fcgi
Alias /NoAuth/images/ /usr/local/rt2/WebRT/html/NoAuth/images/
ScriptAlias / /usr/local/rt2/bin/mason_handler.fcgi/
#PerlModule Apache::DBI
<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>
Config.pm:
$MasonComponentRoot = "/usr/local/rt2/WebRT/html";
$MasonLocalComponentRoot = "/usr/local/rt2/local/WebRT/html";
$MasonDataDir = "/usr/local/rt2/WebRT/data";
$MasonSessionDir = "/usr/local/rt2/WebRT/sessiondata";
Any help will be greatly appreciated.
Emre
More information about the rt-users
mailing list