Could not find component for initial path '/rt2/index.html'

[RT 2.0.15, fastcgi 2.2.12, Red Hat 7.2, MySQL 3.23.41, Apache 1.3.22
(Red Hat’s build)]

I’m a complete RT newbie. I installed RT and fastcgi according to the
directions on fsck.com. I added:

LoadModule fastcgi_module modules/mod_fastcgi.so
AddModule mod_fastcgi.c
AddHandler fastcgi-script fcgi

FastCgiServer /usr/local/rt2/bin/mason_handler.fcgi
Alias /NoAuth/images/ /usr/local/rt2/WebRT/html/NoAuth/images/
ScriptAlias / /usr/local/rt2/bin/mason_handler.fcgi/

Alias /rt2/ /usr/local/rt2/WebRT/html/

to /etc/httpd/conf/httpd.conf and restarted Apache.

Then I tried to go to http://sws1.ornl.gov/rt2/, but got:

could not find component for initial path ‘/rt2/index.html’

Stack:
[/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm:143]
[/usr/lib/perl5/site_perl/5.6.1/Class/Container.pm:216]
[/usr/lib/perl5/site_perl/5.6.1/Class/Container.pm:279]
[/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Interp.pm:192]
[/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Interp.pm:186]
[/usr/local/rt2/bin/mason_handler.fcgi:208]

Apache didn’t log any errors.

Any ideas what’s wrong?

-Dave

I’m not sure if it’s the cause of your problem or not, but I think
your fastcgi directives are wrong. You’d like to run rt as /rt2 on
your server, right?

Instead of:

FastCgiServer /usr/local/rt2/bin/mason_handler.fcgi
Alias /NoAuth/images/ /usr/local/rt2/WebRT/html/NoAuth/images/
ScriptAlias / /usr/local/rt2/bin/mason_handler.fcgi/
Alias /rt2/ /usr/local/rt2/WebRT/html/

Try:

FastCgiServer /usr/local/rt2/bin/mason_handler.fcgi
Alias /NoAuth/images/ /usr/local/rt2/WebRT/html/NoAuth/images/
ScriptAlias /rt2/ /usr/local/rt2/bin/mason_handler.fcgi/

seph

I’m not sure if it’s the cause of your problem or not, but I think
your fastcgi directives are wrong. You’d like to run rt as /rt2 on
your server, right?

Instead of:

FastCgiServer /usr/local/rt2/bin/mason_handler.fcgi
Alias /NoAuth/images/ /usr/local/rt2/WebRT/html/NoAuth/images/
ScriptAlias / /usr/local/rt2/bin/mason_handler.fcgi/
Alias /rt2/ /usr/local/rt2/WebRT/html/

Try:

FastCgiServer /usr/local/rt2/bin/mason_handler.fcgi
Alias /NoAuth/images/ /usr/local/rt2/WebRT/html/NoAuth/images/
ScriptAlias /rt2/ /usr/local/rt2/bin/mason_handler.fcgi/

Yep, that was it. Thanks!

-Dave