File: apache2-fastcgi.conf

package info (click to toggle)
request-tracker4 4.4.7%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 62,888 kB
  • sloc: javascript: 130,444; perl: 65,442; sh: 1,350; makefile: 480; python: 37; php: 30
file content (35 lines) | stat: -rw-r--r-- 1,059 bytes parent folder | download | duplicates (8)
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
# To use RT together with mod_fastcgi, available in the 
# libapache2-mod-fastcgi package, include this file with:
#
#   Include /etc/request-tracker4/apache2-fastcgi.conf
# 
# into your Apache configuration file.
#
# You will need to enable the Apache modules: fastcgi

# You might want to enable this line
# AddDefaultCharset UTF-8

# Tell FastCGI to trigger on the handler
FastCgiServer /usr/share/request-tracker4/libexec/rt-server.fcgi -initial-env RT_SITE_CONFIG=/etc/request-tracker4/RT_SiteConfig.pm

# Use the handler
# Note: If you switch the configuration to be served up from / use a
# trailing / - ie:
#   ScriptAlias / /usr/share/request-tracker4/libexec/rt-server.fcgi/
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>