[CentOS] httpd reverse proxy

Mon May 5 22:17:49 UTC 2008
Stephen Harris <lists at spuddy.org>

On Mon, May 05, 2008 at 03:14:35PM -0700, Craig White wrote:
> 
> On Mon, 2008-05-05 at 17:08 -0500, Les Mikesell wrote:
> > Craig White wrote:
> > > <VirtualHost www.tobyhouse.com:*>
> > >   ProxyPass / http://cms.tobyhouse.com
> > >   ProxyPassReverse / http://cms.tobyhouse.com
> > > </VirtualHost>
> > 
> > That should work - but I'd put a trailing / on the target.  The files 

> OK - well adding the backslash to the end seemed to fix the issue with
> css but the problem is that stuff that is going to srv1.tobyhouse.com is
> also proxied over to the same site and I want that to stay at home.

Try putting a "ServerName www.tobyhouse.com" entry into the VirtualHost
config.

-- 

rgds
Stephen