Piwik, Apache, Proxy and Chroot

Hi,

Finally managed to get Apache 2.2 working in a native chroot environment by proxying requests to back end individual httpd processes. The issue I am having is that when I go to http://analytics.somedomain.com I get the following error

If you use a proxy server, you must configure Piwik to accept the proxy header that forwards the Host header.

The way I have httpd.conf set up is

<VirtualHost *:80>
    ServerAdmin analytics@somedomain.com

    ServerName analytics.somedomain.com

    ProxyPass / http://localhost:8080/
    ProxyPassReverse / http://localhost:8080/

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

What would one need to change in config.php or would it be something in the proxy http config file ?

Found this 301 Moved Permanently which allowed me to login it but stats show the localhost instead of connecting client. Stuck on where I need to define variables etc ?

http://piwik.org/faq/how-to-install/#faq_98