Rolando Michan wrote:

> Can you send and example of that file
> Thank you in advance

Include allows you to include any file you want, with whatever config
you want in it. So for example, if you have a group of vhosts with a bit
of common config in it, say like this:

<VirtualHost blah>
  Setenv frog joe
  Setenv rabbit bill
</VirtualHost>
<VirtualHost foo>
  Setenv frog joe
  Setenv rabbit bill
</VirtualHost>

You could create a common file, say called environment.conf with this:

 Setenv frog joe
 Setenv rabbit bill

And then have your normal config like this:

<VirtualHost blah>
  Include environment.conf
</VirtualHost>
<VirtualHost foo>
  Include environment.conf
</VirtualHost>

Regards,
Graham
--

> ----- Original Message -----
> From: Graham Leggett <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, December 01, 2001 5:57 AM
> Subject: Re: vhost hooks
> 
> Ian Holsman wrote:
> 
> > over here @cnet we have a groups of a couple (10-50) of hostnames which
> provide similiar content
> > but are slightly different (eg.. yahoo.cnet.com & news.cnet.com) and
>  http://hotbar.cnet.com/ and
> > shopper.cnet.com)
> 
> Why not just include an external common file?
> 
> <Vhost blah>
> Include common.conf
> </Vhost>
> 
> Regards,
> Graham
> --
> -----------------------------------------
> [EMAIL PROTECTED] "There's a moon
> over Bourbon Street
> tonight..."

-- 
-----------------------------------------
[EMAIL PROTECTED]                "There's a moon
                                        over Bourbon Street
                                                tonight..."

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to