rewriteRule "(.*)o=Foo Bar,[ ]?c=US" "%1dc=example,dc=com"
rewriteContext searchResult
rewriteRule "(.*)dc=example,[ ]?dc=com" "%1o=Foo Bar,c=US"
+rewriteContext searchAttrDN alias searchResult
rewriteContext searchFilter
rewriteRule "(.*)member=([^)]+),o=Foo Bar,[ ]?c=US(.*)" "%1member=%2,dc=example,dc=com%3"
rewriteRule "(.*)o=Foo Bar,[ ]?c=US" "%1dc=example,dc=com"
rewriteContext searchResult
rewriteRule "(.*)dc=example,[ ]?dc=com" "%1o=Foo Bar,c=US"
+rewriteContext searchAttrDN alias searchResult
rewriteContext searchFilter
rewriteRule "(.*)member=([^)]+),o=Foo Bar,[ ]?c=US(.*)" "%1member=%2,dc=example,dc=com%3"
default-target
rewriteRule "(.*)o=Foo Bar,[ ]?c=US" "%1dc=example,dc=com"
rewriteContext searchResult
rewriteRule "(.*)dc=example,[ ]?dc=com" "%1o=Foo Bar,c=US"
+rewriteContext searchAttrDN alias searchResult
rewriteContext searchFilter
rewriteRule "(.*)member=([^)]+),o=Foo Bar,[ ]?c=US(.*)" "%1member=%2,dc=example,dc=com%3"