Re: [Hampshire] multiple sites in Apache

Top Page
Author: Hugo Mills
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] multiple sites in Apache

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x574c9100.hantslug.org.uk.29783': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Mon Dec 4 15:45:19 2006 GMT
gpg: using DSA key B2C27BC21C335860
gpg: Can't check signature: No public key
On Mon, Dec 04, 2006 at 03:41:41PM +0000, Richard Mace wrote:
> Hi Guy's,
> I am trying to get my head around creating multiple sites in Apache, so that
> I can configure each one of them to be http://an_ip_adress/site1 and
> http://the_sames_ip_adress/site2
>
> I think this can be done via virtual hosts, but I can't work out how to
> configure it for the above scenario.


You don't need a VH for this set-up at all. Just put the sites in
${DOCUMENT_ROOT}/site1 and ${DOCUMENT_ROOT}/site2. DOCUMENT_ROOT is
usually /var/www in default configurations.

Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 1C335860 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
        --- The avalanche has started. It is too late for the ---        
                            pebbles to vote.