[rt-users] newbie question (RT + FastCGI)

Cristian D. GAL cgal at gmi-mr.com
Thu Jan 16 20:23:23 EST 2003


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
  <Location />
   SetHandler perl-script
   PerlHandler RT::Mason
  </Location>

#PerlRequire /usr/local/rt2/bin/webmux.pl
#<LocationMatch "\.html$">
#   SetHandler perl-script
#   PerlHandler RT::Mason
# </LocationMatch>

</VirtualHost>





More information about the rt-users mailing list