From owner-freebsd-questions Tue Feb 20 16:12:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from java2.dpcsys.com (java2.dpcsys.com [206.16.184.5]) by hub.freebsd.org (Postfix) with ESMTP id CE15D37B401 for ; Tue, 20 Feb 2001 16:12:39 -0800 (PST) (envelope-from dan@dpcsys.com) Received: from localhost (localhost [127.0.0.1]) by java2.dpcsys.com (8.11.1/8.11.1) with ESMTP id f1L0ADP81790; Tue, 20 Feb 2001 16:10:13 -0800 (PST) Date: Tue, 20 Feb 2001 16:10:13 -0800 (PST) From: Dan Busarow To: Doug Young Cc: Rick Hamell , FreeBSD-questions Subject: Re: Apache In-Reply-To: <011401c09b85$1498fca0$847e03cb@apana.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Feb 21, Doug Young wrote: >I had what sounds exactly the same problem a while back .... hours & hours >of tearing hair out later I stumbled across the solution. For some reason >beyond me, the default data directory in apache points to a symlink, & >apparently that is critical and must be left intact even though httpd.conf >points to the actual data files elsewhere. I'd deleted that inadvertently >without realizing it was critical, hence the error 404. Maybe someone more >knowledgable than me understands more about the issue .... as always there >isn't anything obvious in the docs about the symlink. I "borrowed" a number >of httpd.confs without making the slightest difference ... it was only by >reinstalling Apache completely that the problem was resolved. There is no "magic" symlink in a basic apache install. The system you were working on must have been modified. Unless you mean the /home -> /usr/home symlink that FreeBSD uses, deleting /home would certainly break DocumentRoot /home/www In httpd.conf just point DocumentRoot at the /full/path to your html documents. Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message