[plug] VirtualHosts Problem

Mark Bailey mbailey at arach.net.au
Sat Jul 24 11:45:07 WST 2004


 
Thanx Bernard and Garry.

I'll go have a look at that. 

Cheers,
Mark Bailey
Perth, Western Australia

WANTED: Meaningful overnight relationship.



-----Original Message-----
From: plug-bounces at plug.linux.org.au [mailto:plug-bounces at plug.linux.org.au]
On Behalf Of Bernard Blackham
Sent: Saturday, 24 July 2004 11:38 AM
To: plug at plug.linux.org.au
Subject: Re: [plug] VirtualHosts Problem

On Sat, Jul 24, 2004 at 11:34:50AM +0800, Mark Bailey wrote:
> 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.

That's because it's not possible :)

You could:

(a) mount the directory from the other machine over NFS and then set the
document root accordingly; or

(b) install apache on the other machine and read up on the documentation for
mod_proxy and ProxyPass.

HTH,

Bernard.

--
 Bernard Blackham <bernard at blackham dot com dot au>
_______________________________________________
PLUG discussion list: plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
Committee e-mail: committee at plug.linux.org.au

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.718 / Virus Database: 474 - Release Date: 9/07/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.718 / Virus Database: 474 - Release Date: 9/07/2004
 




More information about the plug mailing list