Vanno aggiunte le righe in grassetto:

<VirtualHost *:80>

ServerName servername
DocumentRoot /somepath/
ProxyPass /errors !
ProxyPass / http://localhost:8080/someapp/
ProxyPassReverse / http://localhost:8080/someapp/
ProxyErrorOverride On
  ErrorDocument 404 /errors/error.html

</VirtualHost>