So, you want to do authentication via NTLM for another web server? There are two things you could do. One is to look at what Apache::AuthenNTLM does and port it to the other server. The other is to use apache as a proxy, with AuthenNTLM doing auth. You can use the Apache::Proxy module, or do something with LWP.