Hi
I'm in the process of migrating between and old and new server, lets
call them "new" and "old". I've copied all the web sites from old to new
but only want one of the websites to be delivered from new server and
the rest to still come from the old server. I understand I need to proxy
the requests but i'm not having much luck
Here is the virtual host definition I use (have a number of similar name
based virtual hosts for other sites) - with what i believe is the
necessary added proxy element - but am not sure what to use as the
parameters for ProxyPass and ProxyPassReverse since the incoming request
to
www.mywebsite.com (on the new server) needs to be mapped to
www.mywebsite.com (but on the old server)
<VirtualHost *:80>
DocumentRoot /usr/mywebsite
ServerName mywebsite.com
ServerAlias
www.mywebsite.com
ErrorLog logs/mywebsite.com-error_log
CustomLog logs/mywebsite.com-access_log common
# Added proxy element
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass ?? ??
ProxyPassReverse ?? ??
</VirtualHost>
Many thanks in advance
Steve