httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
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 pilsl@goldfisch.at 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 dom1.com
> SSLEngine On
Put the VirtualDocumentRoot directive in here.
> </VirtualHost>

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message