Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 87646 invoked from network); 13 Jul 2010 14:23:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Jul 2010 14:23:19 -0000 Received: (qmail 79683 invoked by uid 500); 13 Jul 2010 14:23:12 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 79641 invoked by uid 500); 13 Jul 2010 14:23:11 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 79620 invoked by uid 99); 13 Jul 2010 14:23:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 14:23:11 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tevans.uk@googlemail.com designates 209.85.161.45 as permitted sender) Received: from [209.85.161.45] (HELO mail-fx0-f45.google.com) (209.85.161.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 14:23:04 +0000 Received: by fxm5 with SMTP id 5so3346407fxm.18 for ; Tue, 13 Jul 2010 07:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=nwruZ/yriVUCBAaE9JEA9USCH5xNaFJtb4LyHj8SiLs=; b=MwqMJYKj+uVh9yK+5fq5zkPxvdjb6DK+0Ku94SONJu3dca2jvPHtqSWg3X6zapzq8g P8P5+L5bQqqqk6jrRJ3ONzxijFe5yCPWulM4ZUscvZgU3P+HXBPop2QPvS4UB+LJnvHl xVkErFMFn00gcwxi42UVsNhxZ5CHVAWWXBhFw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=gKiXN4TJbXqvjNIKdKpNIEdm4i4SHmqCTmlu/vzUkDGU7/vF+Vj8EuX+ZZLdhSU9i+ IEUxTOGCxiynhBPohIgICtAEPtwFhQzTcf3MpIcbhZhn7gnuWHYj0dmVdGhNOy966gCf ahYbp7PMKFaKyw92QmxBtOxmDFUdHjMVfYWmQ= MIME-Version: 1.0 Received: by 10.239.165.72 with SMTP id w8mr1003508hbd.79.1279030901696; Tue, 13 Jul 2010 07:21:41 -0700 (PDT) Received: by 10.239.151.196 with HTTP; Tue, 13 Jul 2010 07:21:41 -0700 (PDT) In-Reply-To: References: Date: Tue, 13 Jul 2010 15:21:41 +0100 Message-ID: From: Tom Evans To: users@httpd.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Troubleshooting namebased virtual websites On Tue, Jul 13, 2010 at 3:16 PM, John Hudak wrote: > I am having an issue where none of the three virtual websites I've create= d > are being served when requested. I basically followed the approach > documented here: > http://www.debian-administration.org/articles/412 > > I am running Ubuntu server 8.04 LTS. My router successfully forwards the > incomming page request to my server (193.168.0.110).=C2=A0 I am able to s= erve a > single site, that is set up slightly differently than the three virtual > sites.=C2=A0 The main difference is that the document root is in my home > directory (/home/me/my_website_docs). > > When a request comes in for one of the virtual sites, i.e. www.example.co= m, > the apache error log records (from-:tail -f /var/log/apache2/error.log): > [Tue Jul 10 10:00:49 2010] [error] [client xxx.xxx.xxx.xxx] File does not > exist: /htdocs > > I've set the /var/www file protection to: 766 for all the files to be > served. The owner is apache. > > I put a 'dummy' index.html file in each of the htdoc directories. > I have tried a number of things including: eliminating the domain directo= ry > structure and just serving from /var/www/, making the sites-available fil= e > for each domain minimal by just specifying: domain name, doc root, alias,= . > I've done a few other things that I can't remember at this point. > > So, any suggestions as to how to troubleshoot this problem?=C2=A0 One of = my > questions is what is this error really telling me?=C2=A0 is it looking fo= r a file > "/htdocs"?=C2=A0 Where is it looking for this file? If it is looking for > "/htdocs" why??? and why not the DirectoryIndex of index.html as I specif= ied > in sites-available?? > > Suggestions are really appreciated as I am dead-ended on this one.... > Thank you! > John > > It's looking for '/htdocs', or more likely, it is looking for '/htdocs/foo/bar/quuz.html', but '/htdocs' isn't there, so why look any further. Have you set your ServerRoot incorrectly? Can you show your vhost config? Cheers Tom --------------------------------------------------------------------- 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