[request-tracker-maintainers] Bug#590579: Bug#590579: rt3.8-apache2: Default config fails for rt-mailgate with virtual host

Dominic Hargreaves dom at earth.li
Wed Jul 28 21:11:24 UTC 2010


On Tue, Jul 27, 2010 at 04:57:03PM +0300, Antony Gelberg wrote:
> 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.

Hmm, I'm not sure what you mean by "VM config". I guess you mean an
Apache VirtualHost?

You're right, in that case; and I'll definitely add a note to that
effect. It's unfortunate that we can't really make this Just Work but
then again the user would have had to configure things manually in any
case, so clearer documentation ought to be sufficient.

Cheers,
Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)





More information about the pkg-request-tracker-maintainers mailing list