[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#283006: marked as done ('default' site is not always default)



Your message dated Fri, 26 Nov 2004 09:44:05 +1000
with message-id <00ab01c4d348$ac8e9cf0$0400000a@0c3.net>
and subject line Bug#283006: 'default' site is not always default
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 25 Nov 2004 21:49:35 +0000
>From mass@akuma.org Thu Nov 25 13:49:35 2004
Return-path: <mass@akuma.org>
Received: from mail2.data393.net [66.151.174.81] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CXRUd-0003SG-00; Thu, 25 Nov 2004 13:49:35 -0800
Received: from ex1.corp.pingidentity.com (exchange.pingidentity.com [208.42.225.132])
	by mail2.data393.net (8.12.8/8.12.8) with ESMTP id iAPLnLqu007135
	for <submit@bugs.debian.org>; Thu, 25 Nov 2004 14:49:21 -0700
Received: from [192.168.1.100] ([67.166.24.208] RDNS failed) by ex1.corp.pingidentity.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.211);
	 Thu, 25 Nov 2004 14:49:21 -0700
Mime-Version: 1.0 (Apple Message framework v678)
Content-Transfer-Encoding: 7bit
Message-Id: <[🔎] A7B45662-0C86-4649-BD66-A32701E445B9@akuma.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: submit@bugs.debian.org
From: David Waite <mass@akuma.org>
Subject: 'default' site is not always default
Date: Thu, 25 Nov 2004 14:49:08 -0700
X-Mailer: Apple Mail (2.678)
X-OriginalArrivalTime: 25 Nov 2004 21:49:21.0632 (UTC) FILETIME=[9F3B7600:01C4D338]
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_20,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: apache2
Version: 2.0.52-1

When doing named virtual hosts, no logic is in place to make the 
'default' site the default for unknown named hosts. Apache defines the 
default site to be the first virtualhost defined, independent of 
ServerName and the like.

Having 'default' declared independently of the sites-enabled mechanism 
and included first would solve this problem. For now, my workaround is 
to prefix my sites with 'www.' always, which causes default to be first 
in inclusion order. Another workaround would be to not link default to 
sites-enabled, instead including it directly from sites-available.

---------------------------------------
Received: (at 283006-done) by bugs.debian.org; 25 Nov 2004 23:47:03 +0000
>From adconrad@0c3.net Thu Nov 25 15:47:03 2004
Return-path: <adconrad@0c3.net>
Received: from mail.cairns.net.au (cairns.net.au) [210.11.152.12] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CXTKI-00085G-00; Thu, 25 Nov 2004 15:47:03 -0800
Received: from nosferatu (unverified [210.11.154.230]) 
	by cairns.net.au (SurgeMail 2.1c7) with ESMTP id 15699343 
	for <283006-done@bugs.debian.org>; Fri, 26 Nov 2004 09:46:58 +1000 AEST
From: "Adam Conrad" <adconrad@0c3.net>
To: <283006-done@bugs.debian.org>
Subject: RE: Bug#283006: 'default' site is not always default
Date: Fri, 26 Nov 2004 09:44:05 +1000
Message-ID: <00ab01c4d348$ac8e9cf0$0400000a@0c3.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.6626
In-Reply-To: <[🔎] A7B45662-0C86-4649-BD66-A32701E445B9@akuma.org>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Importance: Normal
X-Server: High Performance Mail Server - http://surgemail.com
Delivered-To: 283006-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.2 required=4.0 tests=BAYES_40,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

David Waite wrote:
> 
> When doing named virtual hosts, no logic is in place to make the 
> 'default' site the default for unknown named hosts.

As of 2.0.51-2, on fresh installations, 'default' is linked in
sites-enabled as '000-default'.  There's not much more we can do here,
as many people (me included) like the freedom to be able to unlink the
'default' site and use our own setup instead.

If your links aren't coming out in the order you'd like, you can of
course pull whatever similar tricks you want, changing the symlink to
'__default__' or whatever suits.  There's no law stating a symlink has
to have the same name as its target. :)

... Adam



Reply to: