You need a proxy instead of a rewrite, because you're sending the connection to a different service than Apache.

ProxyPass        /ha/ http://MYDOMAIN.duckdns.org:8123/
ProxyPassReverse /ha/ http://MYDOMAIN.duckdns.org:8123/

See ProxyPass.