D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Forwarding from one web server to another...

 

The Apache Directive You Are Looking For is ProxyPass.

Forget mucking about with rewrite and virtual domains.

just use :

<VirtualHost ..>
...
ProxyPass /somepath/ http://some.other.machine:1234/somepath
ProxyPassReverse /somepath/ http://some.other.machine:1234/somepath
...
</VirtualHost>

Cheers,

A.

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html