/etc/request-tracker4/apache2-fcgid.conf is in rt4-apache2 4.0.19-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | # To use RT together with mod_fcgid, available in the
# libapache2-mod-fcgid package, include this file with:
#
# Include /etc/request-tracker4/apache2-fcgid.conf
#
# into your Apache configuration file.
#
# Note that you will need to make readable the file
# /etc/request-tracker4/RT_SiteConfig.pm for the www-data user.
#
# If you allow users to run php or cgi scripts as the www-data user
# this might result in you effectively letting them know your rt
# database password and username.
# You might want to enable this line
# AddDefaultCharset UTF-8
# This is set by the libapache2-mod-fcgid package
# AddHandler fcgid-script .fcgi
FcgidInitialEnv RT_SITE_CONFIG /etc/request-tracker4/RT_SiteConfig.pm
# The defaults are unlikely to be big enough for an RT site handling
# attachments
FcgidMaxRequestLen 1073741824
# Bypass FastCGI for images
Alias /rt/NoAuth/images /usr/share/request-tracker4/html/NoAuth/images
# Use the handler for everything else
ScriptAlias /rt /usr/share/request-tracker4/libexec/rt-server.fcgi
<Location /rt/>
DirectoryIndex index.html
</Location>
# Limit mail gateway access to localhost by default
<Location /rt/REST/1.0/NoAuth>
<IfVersion >= 2.3>
Require local
</IfVersion>
<IfVersion < 2.3>
Order Allow,Deny
Allow from 127.0.0.1
</IfVersion>
</Location>
|