#put this into /etc/apache/conf.d
ProxyRequests Off
ProxyPreserveHost On

<Proxy *>
        Order deny,allow
        Allow from all
</Proxy>

<Directory /var/www/myapp>
        ProxyPass http://host/
        ProxyPassReverse http://host/
</Directory>