First, you probably didn’t install mod_perl or any flavor of FastCGI. To
install FastCGI in Fedora:
yum install mod_fcgid
Next, you can’t just include that virtual host config verbatim - it isn’t
going to work - you have to modify it for your system. That code assumes
you are using Apache’s FastCGI module, for one… Instead, create an
rt.conf file in /etc/httpd/conf.d. Put the following in it:
LoadModule fcgid_module modules/mod_fcgid.so
Use FastCGI to process .fcg .fcgi & .fpl scripts
Don’t do this if mod_fastcgi is present, as it will try to do the same
AddHandler fcgid-script fcg fcgi fpl
Sane place to put sockets and shared memory file
Alias /rt/NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/
This assumes the Fedora RT RPM was installed in /opt/rt3
And if you are going to use a database backend to store all your tickets
(which you should be doing), you are going to have to install a database
server (mysql, for example), create an RT database called rt3, assign a
username/password to it (use rt_user for the user), etc. Then follow the
documentation to create the RT tables and schema in said database.
Once that’s done, you need to customize your /opt/rt3/etc/RT_SiteConfig.pm.
It should look something like:
Set($DatabasePassword , ‘<dbpassword’);
Set($DatabaseHost , ‘’);
Set($DatabasePort , ‘3306’);
Set($Organization , “”);
This would give an RT URL of: http:///rt/
The above config assumes the ‘rt3’ is the database name and ‘rt_user’ is
the user with permissions to the database. /opt/rt3/etc/RT_Config.pm
contains all the default settings. Settings in
/opt/rt3/etc/RT_Siteconfig.pm override the default settings.
That should get you going. There is a lot more to RT than this - including
setting up the mailgate as well as adding queues, users, scripts, etc, via
the web-based RT interface.
BTW, it’s possible the Fedora RT RPM installs mysql, creates a database,
etc - but I would seriously doubt it. I have never installed RT via RPM -
only from source.
Sent by: email@example.com
[rt-users] Configuring Apache for
System is Fedora Core 7
[root@rt3 ~]# rpm -q httpd
[root@rt3 ~]# rpm -q rt3
I’m getting the message about needing to configure the web server for
mod_perl, FastCGI, or SpeedyCGI The Fedora wiki skips right over this
part. In the source wiki,
FastCGIConfiguration - Request Tracker Wiki talks about it a
bit, but I just cannot figure out what I need to do to translate those
instructions… they obviously assume that you’re using source and some
defaults that uses, but with Fedora, things are just different. I tried
Tell FastCGI to put its temporary files somewhere sane.
Number of processes is tunable, but you need at least 3 or 4
FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120
CustomLog /var/logs/apache2/logs/rt.example.com-access_log common
AddHandler fastcgi-script fcgi
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
But that makes httpd fail to start with nothing echoed to
/var/log/httpd/error_log so I’m stuck.
What needs to be done to get RT working under FC7?
Community help: http://wiki.bestpractical.com
Commercial support: firstname.lastname@example.org
Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com