Just to clarify, this is how the conf files look now:
httpd.conf:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /var/www/html/path/
ServerName url2.mydomain.com
ServerAlias url2.mydomain.com
</VirtualHost>
epages.conf:
<IfDefine PROXY>
<VirtualHost *:80>
ServerName url1.mydomain.com
ServerAlias url1.mydomain.com
<Location /epages/>ProxyPass http://url1.mydomain.com:8008/epages/
<IfDefine LB>
ProxyPass balancer://cluster/epages/
ProxyPassReverse balancer://cluster/epages/
</IfDefine>
<IfDefine !LB>
ProxyPassReverse http://url1.mydomain.com:8008/epages/
</IfDefine>
</Location>
</VirtualHost>
</IfDefine>