[CentOS] httpd reverse proxy

Mon May 5 21:57:05 UTC 2008
Craig White <craig at tobyhouse.com>

I am trying to figure this out and I always seem to have trouble
configuring apache to do more than basic stuff...

I have a web server that has several cnames assigned to it.

I want srv1.tobyhouse.com to be served by apache.
I want to proxy connections to www.tobyhouse.com to cms.tobyhouse.com
(different system)

If I do this...

<VirtualHost www.tobyhouse.com:*>
  ProxyPass / http://cms.tobyhouse.com
  ProxyPassReverse / http://cms.tobyhouse.com

then I am good but it seemed to not pull the assets like css and
javascripts from cms.tobyhouse.com

When I did this...

<VirtualHost www.tobyhouse.com:*>
  RedirectPermanent / http://cms.tobyhouse.com

It sent ALL traffic over to the other server which is clearly not what I

How can handle this? Must I give a unique ip address to