[Rt-devel] rt-mailgate fix

Jesse Vincent jesse at bestpractical.com
Mon Dec 11 13:44:20 EST 2006


> 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.

        RedirectMatch permanent (.*)/$ $1/index.html                                                                    

seems like it could be part of your issue as well...

> 
> <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