[plug] VirtualHosts Problem

Craig Foster fostware at westnet.com.au
Sat Jul 24 12:18:09 WST 2004


> -----Original Message-----
> From: plug-bounces at plug.linux.org.au 
> [mailto:plug-bounces at plug.linux.org.au] On Behalf Of Mark Bailey
> Sent: Saturday, 24 July 2004 11:35 AM
> To: plug at plug.linux.org.au
> Subject: [plug] VirtualHosts Problem
<snip>
> 
> This might be really dumb question but I am pretty new to all 
> this stuff so I will not be surprised if someone flames the 
> crap out of me.
> 
> Can someone please advise if the following is possible.
> I have scoured a heap of docmentation and cannot find any 
> reference to it.
> 
> It is in relation to VirtualHosts in Apache.
> 
> I am trying to point a VirtualHost DocumentRoot to a 
> directory on another machine on the network.
> 
> ie. Apache is running on 192.168.1.1. I want the DocumentRoot 
> for one of the domains to be on 192.168.1.4.
> 
> I can find no reference showing a DocumentRoot to somewhere 
> other than a directory on the host machine. 

ProxyPass and mod_proxy are your friends.

I use them on various sites to section off Windows IIS Servers from the
outside world, eg /resources/qa-docs/ or Exchange Web Access

> Thanx in advance.
> 
> Cheers,
> Mark Bailey
> Perth, Western Australia

Regards,

CraigF




More information about the plug mailing list