[rt-devel] RT problem with Mason Component root
Shaun Hedges
shaun at lexicom.ab.ca
Wed Sep 26 14:43:11 EDT 2001
Hi,
I'm having the following error reported to apache error log:
[Thu Sep 27 04:42:53 2001] [warn] [Mason] Cannot resolve file to component:
/opt/webrt2/bin/rt (is file outside component root?)
Below is my apache configuration and config.pm mason variables, does anyone
know why it's reporting this error?
Thx so much in advance for the help! :)
- Shaun
Here is my apache configuration:
<VirtualHost *>
ServerAdmin webmaster at server.com
DocumentRoot /opt/webrt2/WebRT/html
ServerName tickettool.server.com
ErrorLog logs/tickettool.server-error_log
CustomLog logs/tickettool.server-access_log combined
ScriptAlias /cgi-bin /opt/webrt2/bin
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /opt/webrt2/bin/webmux.pl
<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>
Config.pm mason config variables:
$MasonComponentRoot = "/opt/webrt2/WebRT/html";
# $MasonLocalComponentRoot is where your rt instance keeps its site-local
# mason html files.
# (this should be autoconfigured during 'make install' or 'make upgrade')
$MasonLocalComponentRoot = "/opt/webrt2/local/WebRT/html";
# $MasonDataDir Where mason keeps its datafiles
# (this should be autoconfigured during 'make install' or 'make upgrade')
$MasonDataDir = "/opt/webrt2/WebRT/data";
# RT needs to put session data (for preserving state between connections
# via the web interface)
$MasonSessionDir = "/opt/webrt2/WebRT/sessiondata";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pallas.eruditorum.org/pipermail/rt-devel/attachments/20010926/463de61d/attachment.html
More information about the Rt-devel
mailing list