[rt-users] Logs say: mason_handler.fcgiindex.html, browser missing css, gives me 404 on initial login
Maxwell A. Rathbone
mrathbone at sagonet.com
Wed Dec 2 09:29:22 EST 2009
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:
<VirtualHost subdomain.domain.com:80>
ServerName subdomain.domain.com
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
ServerAdmin sysadmin at sagonet.com
<Location /NoAuth/images>
SetHandler default-handler
</Location>
AddHandler fastcgi-script fcgi
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
</VirtualHost>
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:
> 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.
>
>
More information about the rt-users
mailing list