Enable mod_rewrite
and 'mod_proxy_http` on Apache.
<VirtualHost *:80>
ServerName domain1.nl
Rewriteengine on
RewriteRule ^/$ http://domain1.nl/myapp1/login/login.do
ProxyPass /myapp1 http://localhost:8080/myapp1
ProxyPassReverse /myapp1 http://localhost:8080/myapp1
</VirtualHost>
<VirtualHost *:80>
ServerName domain2.nl
Rewriteengine on
RewriteRule ^/$ http://domain2.nl/myapp2/
ProxyPass /myapp2 http://localhost:8080/myapp2
ProxyPassReverse /myapp1 http://localhost:8080/myapp2
</VirtualHost>
There is the copy/paste answer. But that will probably just lead to more questions because you don't get the fundamental understanding by copy/pasting verbatim.
Read all of Apache Virtual Host and Apache Rewrite Module documentation so you actually understand how it works so you can think with this.
To have those URL go through Apache to your backend Tomcat server, apply proxy directives as per the Apache Proxy documentation. Obviously, in the configuration above, localhost
should be replaced with whatever host your Tomcat server is on.