Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 78814 invoked from network); 20 Jan 2005 21:17:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Jan 2005 21:17:34 -0000 Received: (qmail 74093 invoked by uid 500); 20 Jan 2005 21:17:23 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 74066 invoked by uid 500); 20 Jan 2005 21:17:23 -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 74050 invoked by uid 99); 20 Jan 2005 21:17:23 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FROM_ENDS_IN_NUMS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from postfix3-1.free.fr (HELO postfix3-1.free.fr) (213.228.0.44) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 20 Jan 2005 13:17:21 -0800 Received: from [127.0.0.1] (lns-p19-4-idf-82-65-243-73.adsl.proxad.net [82.65.243.73]) by postfix3-1.free.fr (Postfix) with ESMTP id 501C3173528 for ; Thu, 20 Jan 2005 22:17:19 +0100 (CET) Message-ID: <41F01FFE.3020606@free.fr> Date: Thu, 20 Jan 2005 22:17:50 +0100 From: Gob42 User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: fr, en MIME-Version: 1.0 To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Subject: [users@httpd] [Apache] Multi-virtual host automatic X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I want to a single configuration for all my virtual hosts on my apache webserver. At this time, i use one configuration file by domain. In this file, i define all the virtual host, one by one, for the domain and the sub-domain. So each time i add a domain or a sub-domain, i have to reload apache. I come here from the debian-user list, who told to post here for more help I want to do something like that : ServerName www.domaine.tld ServerAdmin admin@domaine.tld ServerAlias domaine.tld php_value include_path ".:/home/www/domaine.tld/www/php-include" DocumentRoot /home/www/domaine.tld/www/htdocs ErrorLog /var/log/apache/domaine.tld/error.log CustomLog /var/log/apache/domaine.tld/access.log full php_admin_value open_basedir "/home/www/domaine.tld/www" AllowOverride FileInfo AuthConfig Limit Indexes Options Options MultiViews SymLinksIfOwnerMatch +Includes +ExecCGI -FollowSymLinks Order allow,deny Allow from all Order deny,allow Deny from all On the debian list, they told me to do this using % so i obtain this : ServerName %0 ServerAdmin postmaster@%2+ ServerAlias %2+ DocumentRoot /home/www/%2+/%1 ErrorLog /var/log/apache/%2+/error.log CustomLog /var/log/apache/%2+/access.log full php_admin_value open_basedir "/home/www/%2+/%1" AllowOverride FileInfo AuthConfig Limit Indexes Options Options MultiViews SymLinksIfOwnerMatch +Includes +ExecCGI -FollowSymLinks Order allow,deny Allow from all Order deny,allow Deny from all But this configuration doesn't work properly, ahum, it doesn't work at all ;) Is there someone to help me to do a configuration? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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