Thanks Jesse! Copied dhandler from package RT-3.7.80.tar.gz (html folder).
Works like a charm! On Sun, Mar 16, 2008 at 10:48 PM, Jesse Vincent <[EMAIL PROTECTED]> wrote: > > On Sun, Mar 16, 2008 at 10:45:48PM +0100, holland holland wrote: > > Hello Jesse, > > > > "More recent versions of RT have a 404 handler built in" > > > > Would you please point me where in the code this was implemented. > > You're looking for a top-level dhandler. I don't recall if it's in 3.6.6 > or we've built it into 3.7.x for release in RT 3.8 > > > > > > > Thank you, > > James > > > > On Sun, Mar 16, 2008 at 5:28 PM, Jesse Vincent <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > On Sun, Mar 16, 2008 at 01:24:40PM +0100, holland holland wrote: > > > > Dear all, > > > > > > > > Environment: > > > > > > > > RT 3.6.4 & FastCGI > > > > > > > > I'm wondering how to is currently possible to Redirect inexistent path > > > > to ErrorDocument 404. > > > > > > More recent versions of RT have a 404 handler built in. What you're > > > looking for is a top-level HTML::Mason 'dhandler' > > > > > > > > > > > > > > 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 > > > > _______________________________________________ > > > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > > > > > Community help: http://wiki.bestpractical.com > > > > Commercial support: [EMAIL PROTECTED] > > > > > > > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > > > Buy a copy at http://rtbook.bestpractical.com > > > > > > > > > > -- > > > > > > > -- > _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
