[rt-users] mason_handler.fcgi and ErrorDocument 404

holland holland lahollande at gmail.com
Sun Mar 16 08:24:40 EDT 2008


Dear all,

Environment:

RT 3.6.4 & FastCGI

I'm wondering how to is currently possible to Redirect inexistent path
to ErrorDocument 404.

The problem only occur using FastCGI, mod_perl will follow Apache
ErrorDocument directives.

You can try in your own environment (using FastCGI), something like
http://[your domain]/blabla.html; you will end up with:

Could not find component for initial path '/blabla.html'
...
...
...
...
 /opt/rt3/bin/mason_handler.fcgi:78



Google for "Could not find component for initial path", you will see
many people running RT with this issue.

Someone proposed to hack the mason_handler.fcgi :

http://groovie.org/articles/2004/12/18/fast-cgi-with-html-mason


This problem is not link to $WebURL , $WebBaseURL . $WebPath  not set
correctly, the very same settings work in mod_perl.


Maybe a Rewrite/.htaccess, pretty sure someone solved that in a neat way.


Thank you in advance,
James



More information about the rt-users mailing list