Isn't apache's mod-rewrite an idea (when using a GET, you can rewrite the request)? otherwice you might look here for a perl-proxy example.
For more about LDAP and perl, i suggest you surf to the Perl-LDAP pages.
"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.