httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] mix mod_vhost_alias and virtual hosts
Date Sat, 09 Nov 2002 18:02:35 GMT

On Sat, 9 Nov 2002 wrote:
>  The VirtualDocumentRoot-Directive seems to override any DocumentRoot
> in any <VirtualHost>-environment. Thats why my config wasnt working.
> I specified valid DocumentRoot in <VirtualHost> but the folder derived
> from VirtualDocumentRoot did not exist. The only <VirtualHost> it was
> working didnt have a DocumentRoot but an "Alias /" ...

That's why you need to stick VirtualDocumentRoot INSIDE a <VirtualHost>
that only matches the hosts you want it applied to.

> Lets say I've 200 "standard" domains (that dont need additional
> VirtualHost-settings) . I config all the 200 domains very easily by
> using a single VirtualDocumentRoot-Directive.  Now I want to allow
> https-access to this domains too. The only way I know by far is to
> create a <VirtualHost>-for each of this domains like:
> <VirtualHost x.x.x.x:443>
> Servername
> SSLEngine On
Put the VirtualDocumentRoot directive in here.
> </VirtualHost>


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message