httpd reverse proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
</VirtualHost>

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
</VirtualHost>

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

How can handle this? Must I give a unique ip address to
www.tobyhouse.com?

Craig

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux