DirectAdmin proxy

Hello,
I wrote about cPanel proxy, but there is also problem with proxy to DirectAdmin backend. After setup the proxy works, but the problem is after succesful login to DirectAdmin. The site is being redirected to the port 2222. When we remove the port from the URL bar (after login) then we can access the DirectAdmin by port 80.

We wrote about this problem to DirectAdmin support, but they said that LiteSpeed propably send anouther headers then Apache, because the problem doesn't occur at servers using Apache.

Yes, DirectAdmin run on port 2222. After successful login DirectAdmin redirect to URL with port 2222. The problem is that at Apache proxy evering goes fine and DirectAdmin doesn't redirect to URL with port 2222. We are still waiting for a reaply from DirectAdmin support. We asked for a role deciding to redirect or not redirect to port 2222.

Apache proxy scan and modify the response, it rewrite the host part of the URL I think.
LiteSpeed does not.
You can check the response header/body from Apache/litespeed with firebug see if it is the case.