[Rt-devel] rt-mailgate fix
Matthew Keller
kellermg at potsdam.edu
Mon Dec 11 13:34:08 EST 2006
On Mon, 2006-12-11 at 13:21 -0500, Jesse Vincent wrote:
> What do your external auth rules look like?
>
> -j
Apache 2.2.something, using mod_auth_ldap for authentication. I
confirmed using lynx and wget that doing a GET on the URL that
rt-mailgate uses worked fine and never prompted for Auth... but for
whatever reason a POST to the double-slashed URL did. I think it's
matching rule bug on Apache's part, but fixing rt-mailgate was the path
of least resistance.
<Location /projects/rt>
RewriteEngine On
RedirectMatch permanent (.*)/$ $1/index.html
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
AuthLDAPURL
ldap://myldapserver/ou=People,o=myldaproot?uid
AuthName "Tracking System"
AuthType Basic
AuthBasicProvider ldap
require ldap-user me myself i
</Location>
<LocationMatch "/projects/rt/(.*NoAuth)">
# Disable auth
Satisfy Any
Allow from all
</LocationMatch>
More information about the Rt-devel
mailing list