[rt-devel] FastCGI / Mason Headaches
Charles Smith
charon at cyc.com
Tue Jan 21 20:43:36 EST 2003
I've held my breath for quite some time going though these list archives,
but I am now stuck.
I have the newest versions of everything (RT, Mason, FastCGI/mod_fastcgi,
Perl, MySQL,
Apache [not 2]). Running SuSE 8.1.
I have a problem described earlier, but the fix posted did not help me. It
is:
could not find component for initial path '/opt/rt2/WebRT/html/index.html'
Stack:
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166]
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:216]
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:279]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:228]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:222]
[/opt/rt2/bin/mason_handler.fcgi:208]
I, however, also get this error in the error_log: [error] [client
207.207.8.67] FastCGI: server "/opt/rt2/bin/mason_handler.fcgi" stderr: Your
component path (/opt/rt2/WebRT/html/index.html) matches a real file on disk
(/opt/rt2/WebRT/html/index.html). Have you read about the component root in
the Administrator's Manual (HTML::Mason::Admin)? at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Resolver/File.pm line 91, <GEN40>
line 28.And yes, I have read it. That doesn't mean I completely understood
it, however :)Anyway, here is my config:From config.pm: $MasonComponentRoot
= "/opt/rt2/WebRT/html"; $MasonLocalComponentRoot =
"/opt/rt2/local/WebRT/html"; $MasonDataDir = "/opt/rt2/WebRT/data";
$MasonSessionDir = "/opt/rt2/WebRT/sessiondata";From my httpd.conf:
DocumentRoot "/opt/rt2/WebRT/html" LoadModule fastcgi_module
/usr/lib/apache/mod_fastcgi.so AddModule fastcgi_module.c AddHandler
fastcgi-script fcgi ... FastCgiServer /opt/rt2/bin/mason_handler.fcgi Alias
/NoAuth/images/ /usr/local/rt2/WebRT/html/NoAuth/images/ ScriptAlias /
/usr/local/rt2/bin/mason_handler.fcgi/From my access.conf: <VirtualHost
###.###.###.###> DocumentRoot /opt/rt2/WebRT/html ServerName
rt.cyc.com Alias /NoAuth/images/ /opt/rt2/WebRT/html/NoAuth/images/
ScriptAlias / /opt/rt2/bin/mason_handler.fcgi/ </VirtualHost>I also have a
few other identical vhosts listed to accomidate for otherregistered names.
All names work the same way. I have redundancy now dueto all the
troubleshooting.Any ideas/help would be GREATLY appreciated. I've run into
two bugs,a few SuSE gotchas, as well as a dozen other problems before this..
Thanks in advance,-Charles
More information about the Rt-devel
mailing list