[rt-users] Mason: Cannot resolve file to component

Jeff Blaine jblaine at kickflop.net
Tue Mar 23 15:30:43 EDT 2010


This is 3.8.7 + mod_perl

On 3/23/2010 2:57 PM, Jeff Blaine wrote:
> This has me really scratching my head.  If it makes any
> difference, this host (rtdev1) serves two separate RT
> instances, each on different ports. The other is working
> fine
>
> rtdev1 RT: [Mason] Cannot resolve file to component:
> /apps/rt_rtsrv1_dev/share/html/index.html (is file outside component
> root?) at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
> line 852. (/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:852)
>
>
> [root at rtdev1 log]# ls -l /apps/rt_rtsrv1_dev/share/html/index.html
> -rw-r--r-- 1 root bin 5188 Mar 23 13:39
> /apps/rt_rtsrv1_dev/share/html/index.html
> [root at rtdev1 log]#
>
>
> Listen xx.xx.9.85:443
> NameVirtualHost xx.xx.9.85:443
> <VirtualHost xx.xx.9.85:443>
> # Copied whole config and altered path/port from working
> # instance!
> ServerName rtdev1.our.org:443
>
> # ... SSL options here ...
>
> DocumentRoot /apps/rt_rtsrv1_dev/share/html
> AddDefaultCharset UTF-8
> PerlRequire "/apps/rt_rtsrv1_dev/bin/webmux.pl"
>
> <Location /NoAuth/images>
> SetHandler default
> </Location>
>
> <Location />
> SetHandler perl-script
> PerlResponseHandler RT::Mason
> </Location>
> </VirtualHost>
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



More information about the rt-users mailing list