Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 63521 invoked by uid 500); 11 Aug 2002 17:45:22 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 63510 invoked from network); 11 Aug 2002 17:45:22 -0000 Received: from tomts8.bellnexxia.net (HELO tomts8-srv.bellnexxia.net) (209.226.175.52) by daedalus.apache.org with SMTP; 11 Aug 2002 17:45:22 -0000 Received: from slive.ca ([65.94.1.86]) by tomts8-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020811174447.SNWJ6888.tomts8-srv.bellnexxia.net@slive.ca> for ; Sun, 11 Aug 2002 13:44:47 -0400 Message-ID: <3D56A265.9010804@slive.ca> Date: Sun, 11 Aug 2002 13:44:05 -0400 From: Joshua Slive User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020721 X-Accept-Language: en-us, en, fr MIME-Version: 1.0 To: users@httpd.apache.org Subject: Re: mod_vhost_alias and wildcards References: <000001c24159$5ce37320$0200a8c0@bertisevil> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Werner Schalk wrote: > Hello, > > is there a way to use /home/*/webs > as DocumentRoots for dynamicially > configured vhosts? I mean mod_vhost_alias > works great but it would be marvellous > to give local users the chance to create > their vhosts themselves. Currently I use > /var/webs for my vhosts but it really be > great to give every single user the chance > to create a vhost themselves. Is there a > way? If you use wildcard DNS or otherwise map all the domain names properly, then of course mod_vhost_alias can use them. Have you read the documentation? http://httpd.apache.org/docs-2.0/mod/mod_vhost_alias.html For example, if you have DNS mappings for user1.example.com, user2.example.com, etc, then use: VirtualDocumentRoot /home/%1/web/ Joshua. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org