I'm using mod_proxy to redirect requests of several sub domains of main one to corresponded servers running on the LAN. Long story short here is my config:
ProxyRequests off
<VirtualHost 0.0.0.0:80>
ServerName sub1.dev.enterprise.com
ProxyPass / http://localhost:8888/
ProxyPassReverse / http://localhost:8888/
</VirtualHost>
<VirtualHost 0.0.0.0:80>
ServerName sub1.dev.enterprise.com
ProxyPass / http://sub1.dev.enterprise.com:8080/
ProxyPassReverse / http://sub1.dev.enterprise.com:8080/
</VirtualHost>
After Apache restart any request for .dev.enterprise.com/ ends up on http://localhost:8888/ Why so?