[request-tracker-maintainers] Bug#590579: rt3.8-apache2: Default config fails for rt-mailgate with virtual host
Antony Gelberg
antony.gelberg at gmail.com
Tue Jul 27 13:57:03 UTC 2010
Package: rt3.8-apache2
Version: 3.8.8-1
Severity: normal
Hi,
I was getting 403 forbidden from rt-mailgate with the default configuration.
I eventually traced it down to the following stanza in
/etc/request-tracker3.8/apache2-fastcgi.conf:
# Limit mail gateway access to localhost by default
<Location /rt/REST/1.0/NoAuth>
Order Allow,Deny
Allow from 127.0.0.1
</Location>
This fails for cases where the request is not from localhost e.g. with a VM
config. The solution is to change 127.0.0.1 to the hostname of the machine.
I think this should be documented somewhere as it's not an obvious solution.
More discussion at http://www.gossamer-threads.com/lists/rt/users/85179.
NB This would look to affect all files matching
/etc/request-tracker3.8/apache2-*.conf, not just fastcgi.
Antony
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.35-rc5.20100720 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
More information about the pkg-request-tracker-maintainers
mailing list