FUNCTIONING: RT on RHEL 4 with FastCGI and MySQLInstallProcedure

Looks like your problem is an Apache one. Try getting it running the virtualhost world, then figure out the mods for making it the only thing on the box.

If you did an installed to the letter of the instructions, RT is in a subdirectory of its own. Have you edited RT_SiteConfig.pm and altered the $WebPath variable to “/rt”?

Post the relevant sections of your apache config if you don’t mind…

-WcH

More snipping below:

Below:
http://rtttest.teleplan.no

RT_Siteconfig.pm

{{{ Database Configuration

Set($DatabaseName , ‘rt’);###

}}}

{{{ Web interface configuration

Set($WebPath , “/rt”);
Set($WebBaseURL , “http://213.88.185.56:80”);
Set($WebURL , $WebBaseURL . $WebPath . “/”);

}}}

Below:
httpd.conf excerpts:
LoadModule fastcgi_module modules/mod_fastcgi.so

User apache
Group apache

NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin root
DocumentRoot /var/www/html/
# Adding the following for RT (the ticket tracker)
AddHandler fastcgi-script fcgi
<Directory “/opt/rt3/share/html”>
Options FollowSymLinks ExecCGI
AllowOverride None

# Pass through requests to display images
Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/

FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120
ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi

Errorlog pre-install:

Thu Mar 31 11:20:06 2005] [notice] FastCGI: process manager initialized (pid 7047)
[Thu Mar 31 11:20:06 2005] [notice] Apache/2.0.52 (Red Hat) configured – resuming normal operations

errorlog post-install:

[Thu Mar 31 11:34:35 2005] [notice] FastCGI: process manager initialized (pid 8276)
[Thu Mar 31 11:34:35 2005] [warn] FastCGI: server “/opt/rt3/bin/mason_handler.fcgi” started (pid 8277)
[Thu Mar 31 11:34:35 2005] [notice] Apache/2.0.52 (Red Hat) configured – resuming normal operations
[Thu Mar 31 11:35:05 2005] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/

  • the last one happening when I access the page.

C