Logs say: mason_handler.fcgiindex.html, browser missing css, gives me 404 on initial login

This is my fifth RT install and the second server I’ve put this
application on. The first four installs were on the same Debian
machine. This one is the first on this centOS box.

I get the login form and logo
(http://rt.ourdomain.com/NoAuth/images/bplogo.gif),

but no css, or any other images. Then after an initial log-in with
root:password, I get only a 404 error.

Anyone recognize those symptoms?

While rendering the login page, it writes to /var/log/httpd/error_log,
thirteen invocations of this error:

script not found or unable to stat:
/usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgiNoAuth

The ‘mason_handler.fcgiNoAuth’, with no space before the ‘NoAuth’ looks
awfully suspicious, but I have no idea where that might be generated.

Then, when I try to log in, I get this error:

script not found or unable to stat:
/usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgiindex.html

Again, with the no space after the ‘.fcgi’ . . .

I tried adding an extra space at the end of the lines in my vhost
container.

FastCgiServer /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgi
-idle-timeout 120
ScriptAlias / /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgi

without changing the result.

What is it I might be missing here, please?

CentOS, apache (from yum), mod_fastcgi-2.4.6 (from source).
RT 3.8.6 from source.

Hugh Esco
http://www.CampaignFoundations.com/

if( $insurance->rationing() ) { $people->die(); }

This is my fifth RT install and the second server I’ve put this
application on. The first four installs were on the same Debian
machine. This one is the first on this centOS box.

I get the login form and logo
(http://rt.ourdomain.com/NoAuth/images/bplogo.gif),

but no css, or any other images. Then after an initial log-in with
root:password, I get only a 404 error.

Anyone recognize those symptoms?

While rendering the login page, it writes to /var/log/httpd/error_log,
thirteen invocations of this error:

script not found or unable to stat:
/usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgiNoAuth

The ‘mason_handler.fcgiNoAuth’, with no space before the ‘NoAuth’ looks
awfully suspicious, but I have no idea where that might be generated.

Then, when I try to log in, I get this error:

script not found or unable to stat:
/usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgiindex.html

Again, with the no space after the ‘.fcgi’ . . .

I tried adding an extra space at the end of the lines in my vhost
container.

FastCgiServer /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgi
-idle-timeout 120
ScriptAlias / /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgi

without changing the result.

What is it I might be missing here, please?

Try

ScriptAlias / /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgi/

(ie with the extra / at the end). This is the configuration I’m using.

Dominic Hargreaves, Systems Development and Support Team
Computing Services, University of Oxford

signature.asc (197 Bytes)

I’m just guessing here in hopes to help as no one else has replied yet.

I’d first recompile RT and make sure you are compiling it with the right
options for Apache and FastCGI. Here is my configure line for RT with
Apache and FastCGI:
./configure --enable-graphviz --enable-gd
–with-web-handler=modperl2,fastcgi --with-db-type=Pg
–with-web-user=apache --with-web-group=apache --with-rt-group=apache

Please bear in mind the line above is for Postgres. If you use mySQL,
you’ll want to change the Pg to mysql.

Then in Apache, I use the following vhost:

ServerName subdomain.domain.com
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8

ServerAdmin sysadmin@sagonet.com
<Location /NoAuth/images>
  SetHandler default-handler
</Location>

AddHandler fastcgi-script fcgi
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

Also in order to make this work, I believe I had to:
chown root:apache /opt/rt3/etc/*
chmod a+r /opt/rt3/etc/*

hope this helps!

Max

Hugh Esco wrote: