From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,SPF_SOFTFAIL autolearn=no version=3.2.5 X-Virus-Scanned: amavisd-new at sgu.ru Message-ID: <49098C69.1070106@rambler.ru> Date: Thu, 30 Oct 2008 13:28:57 +0300 From: =?UTF-8?B?0JrRg9C00YDRj9Cy0YbQtdCyINCh0LXRgNCz0LXQuQ==?= User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: community@lists.altlinux.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: [Comm] =?utf-8?b?0JLQuNGA0YLRg9Cw0LvRjNC90YvQtSDRhdC+0YHRgtGLIEFw?= =?utf-8?q?ache?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2008 10:29:14 -0000 Archived-At: List-Archive: List-Post: Вот конфиг вирт хостов: NameVirtualHost a.b.c.d ServerAdmin webmasterr@site1.org ServerName site1.org:80 ServerAlias www.site1.org DocumentRoot "/var/www/apache2/html/site1.org" Include conf/extra-available/Directory_root_default.conf Include conf/extra-available/Directory_html_default.conf DirectoryIndex index.php ErrorLog /var/log/httpd2/site1.org/error_log CustomLog /var/log/httpd2/site1.org/access_log combined LogLevel debug ServerAdmin webmasterr@site2.org ServerName site2.org:80 ServerAlias www.site2.org DocumentRoot "/var/www/apache2/html/site2.org" Include conf/extra-available/Directory_root_default.conf Include conf/extra-available/Directory_html_default.conf DirectoryIndex index.php ErrorLog /var/log/httpd2/site2.org/error_log CustomLog /var/log/httpd2/site2.org/access_log combined LogLevel debug При запуске апач пише: Checking configuration sanity for httpd2: httpd2: Could not reliably determine the server's fully qualified domain name, using a.b.c.d for ServerName [Thu Oct 30 13:17:42 2008] [warn] NameVirtualHost *:0 has no VirtualHosts Syntax OK [ DONE ] Starting httpd2 service: httpd2: Could not reliably determine the server's fully qualified domain name, using a.b.c.d for ServerName [Thu Oct 30 13:17:42 2008] [warn] NameVirtualHost *:0 has no VirtualHosts [FAILED] Файл hosts содержит: a.b.c.d site1 site2