Ubuntu Setup

apt-get install apache2
a2enmod rewrite
a2enmod proxy

Apache HTTP file

NameVirtualHost *
<VirtualHost *>
    ServerAlias server.com
    ServerSignature On
    RewriteEngine on
    RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/server.com:80/Site/VirtualHostRoot/$1 [P,L]


<IfModule mod_proxy.c>
    #turning ProxyRequests on and allowing proxying from all may allow
    #spammers to use your proxy to send email.
    ProxyRequests Off
    <Proxy *>
         #AddDefaultCharset off
         Order deny,allow
         Allow from allow
         #Deny from all
         #Allow from 
    # Enable/disable the handling of HTTP/1.1 "Via:" headers.
    # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
    # Set to one of: Off | On | Full | Block
    ProxyVia On