- enhance README.SUSE OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/request-tracker?expand=0&rev=71
58 lines
1.5 KiB
Plaintext
58 lines
1.5 KiB
Plaintext
# To use RT together with mod_perl2, available in the
|
|
# apache2-mod_perl package, include this file with:
|
|
#
|
|
# Include /etc/request-tracker/apache2/apache2-modperl2.conf
|
|
#
|
|
# into your Apache configuration file, in a virtual host section.
|
|
# or symlink it into /etc/apache2/conf.d.
|
|
#
|
|
# You will need to enable the Apache modules: perl, actions
|
|
# ( /usr/sbin/a2enmod perl; /usr/sbin/a2enmod actions )
|
|
# #
|
|
|
|
AddDefaultCharset UTF-8
|
|
|
|
PerlSetEnv RT_SITE_CONFIG /etc/request-tracker/RT_SiteConfig.pm
|
|
|
|
# You might need to alter references to /rt in this file (there are
|
|
# three) to match whatever base URL you are using for your RT site
|
|
Alias /rt /usr/share/request-tracker/html
|
|
|
|
<Location /rt>
|
|
SetHandler modperl
|
|
PerlResponseHandler Plack::Handler::Apache2
|
|
PerlSetVar psgi_app /usr/sbin/rt-server
|
|
</Location>
|
|
|
|
# Limit mail gateway access to localhost by default
|
|
<Location /rt/REST/1.0/NoAuth>
|
|
<IfModule mod_authz_core.c>
|
|
<RequireAny>
|
|
Require ip 127.0.0.1
|
|
Require ip ::1
|
|
</RequireAny>
|
|
</IfModule>
|
|
<IfModule !mod_authz_core.c>
|
|
Order Allow,Deny
|
|
Allow from 127.0.0.1
|
|
Allow from ::1
|
|
</IfModule>
|
|
</Location>
|
|
|
|
<Perl>
|
|
use Plack::Handler::Apache2;
|
|
Plack::Handler::Apache2->preload("/usr/sbin/rt-server");
|
|
</Perl>
|
|
|
|
#<Directory "/usr/share/request-tracker/html">
|
|
# Options None
|
|
# AllowOverride None
|
|
# <IfModule mod_authz_core.c>
|
|
# Require all granted
|
|
# </IfModule>
|
|
# <IfModule !mod_authz_core.c>
|
|
# Order allow,deny
|
|
# Allow from all
|
|
# </IfModule>
|
|
#</Directory>
|