Jock Coats wrote: > I think this goes to the heart of the problem. This is where it tells > me to put in lots of port based virtual hosts and I don't want to have > to do that.
No need to. > The host table has lots of entries that are nearly identical and I > haven't changed anything there yet. Then these will probably match to 'localhost' only. > I'd rather have something like the following: > > NameVirtualHost 10.10.10.1 > > <VirtualHost 10.10.10.1> > HostName default.jcsolutions.co.uk > </VirtualHost> > > <VirtualHost 10.10.10.1> > HostName nonmidgard1.jcsolutions.co.uk > </VirtualHost> > > <VirtualHost 10.10.10.1> > HostName nonmidgard2.jcsolutions.co.uk > </VirtualHost> > > <VirtualHost 10.10.10.1> > HostName midgarddefault.jcsolutions.co.uk > MidgardEngine On > </VirtualHost> > > <VirtualHost 10.10.10.1> > HostName midgardadmin.jcsolutions.co.uk > MidgardEngine On > </VirtualHost> > > <VirtualHost 10.10.10.1> > HostName midgardexample.jcsolutions.co.uk > MidgardEngine On > </VirtualHost> > > <VirtualHost 10.10.10.1> > HostName midgardlive1.jcsolutions.co.uk > MidgardEngine On > </VirtualHost> > > Is that possible? Yes[0]. But you need matching host records in the database. > I presume it is the MidgardEngine On directive that tells the system to > go to midgard.so or midgard-root.php and is why I do not need to have a > document root directive in a midgard VH? Yes. Emile [0] although I don't know if nadmin live/staging depends on specific ports. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
