I'm trying to do a similar setup to the one discussed in this older thread. I've enabled the proxy_module, proxy_connect_module, proxy_http_module, and rewrite_module. It worked, but now when I go to domain.com it takes me to the ipcamera. I tried adding another virtual host with ServerName domain.com pointing to localhost, but that just makes the page hang.
<VirtualHost *:80>
ServerName ipcam.domain.com
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyErrorOverride On
ProxyPass / http://192.168.1.123/
ProxyPassReverse / http://192.168.1.123/
<Location />
Order allow,deny
Allow from all
</Location>
</VirtualHost>
<VirtualHost *:80>
ServerName domain.com
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyErrorOverride On
ProxyPass / http://localhost/
ProxyPassReverse / http://localhost/
<Location />
Order allow,deny
Allow from all
</Location>
</VirtualHost>