Newbie question (RT + FastCGI)

Hello,

I have a RH7.3 server runnimg RT and I need to activate fastcgi.
The apache config is preety much default (see below), rt 2.0.15.

I tried to configure FastCGI as in RT’s instructions and at apache startup
I can see:

[Thu Jan 16 23:22:03 2003] [notice] FastCGI: process manager initialized (pid 28413)
[Thu Jan 16 23:22:03 2003] [warn] FastCGI: server "/usr/local/rt2/bin/mason_handler.fcgi"
started (pid 28416)

but I get errors when activating this line:

ScriptAlias / /usr/local/rt2/bin/mason_handler.fcgi/

[Thu Jan 16 23:22:03 2003] [warn] [Mason] Cannot resolve file to
component: /usr/local/rt2/bin/mason_handler.fcgi
(is file outside component root?)

Any ideas, is this a known issue, is there something else I should have
done, cause I really think I did everything by the book.

Thanks a lot,
Chris

– APACHE CONF –

LoadModule perl_module modules/libperl.so
LoadModule fastcgi_module modules/mod_fastcgi.so

AddModule mod_perl.c
AddModule mod_fastcgi.c

NameVirtualHost 12.10.10.12

<VirtualHost 10.10.10.12>
DocumentRoot /usr/local/rt2/WebRT/html
ServerName rt.mydomain.net
PerlModule Apache::DBI

PerlFreshRestart On

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/

PerlRequire /usr/local/rt2/bin/webmux.pl

SetHandler perl-script
PerlHandler RT::Mason

#PerlRequire /usr/local/rt2/bin/webmux.pl
#<LocationMatch “.html$”>

SetHandler perl-script

PerlHandler RT::Mason

Cristian D. GAL wrote:

but I get errors when activating this line:

ScriptAlias / /usr/local/rt2/bin/mason_handler.fcgi/

[Thu Jan 16 23:22:03 2003] [warn] [Mason] Cannot resolve file to
component: /usr/local/rt2/bin/mason_handler.fcgi
(is file outside component root?)

What is $MasonComponentRoot set to in your config.pm?

Phil Homewood, Systems Janitor, www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances