Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 40242 invoked from network); 8 Oct 2004 12:20:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Oct 2004 12:20:06 -0000 Received: (qmail 93134 invoked by uid 500); 8 Oct 2004 12:19:05 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 93069 invoked by uid 500); 8 Oct 2004 12:19:01 -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 92949 invoked by uid 99); 8 Oct 2004 12:18:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [213.80.46.101] (HELO mail03.profundis.se) (213.80.46.101) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 08 Oct 2004 05:18:55 -0700 Received: from server02-a.profundis.se ([213.80.46.103] helo=PROFUNDIS01) by mail03.profundis.se with smtp (Exim 4.41) id I59M72-000GJG-LZ for users@httpd.apache.org; Fri, 08 Oct 2004 14:18:38 +0200 Message-ID: <17e901c4ad30$f1149570$652e50d5@profundis.se> Reply-To: "Robert Andersson" From: "Robert Andersson" To: References: Date: Fri, 8 Oct 2004 14:18:36 +0200 Organization: Profundis MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Subject: Re: [users@httpd] Apache 2.0 don`t open files in DocumentRoot X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Juarez Jr wrote: > > ServerName demo.tester.com > DocumentRoot /web/sys/init.php > > > In Apache 1.3, the server works fine. > The problem is, when I try to redirect files in DocummentRoot in > Apache 2.0, it says that the folder does not exist. And that is strange to you? Does a directory "/web/sys/init.php" exist? Probably not. As the docs says, DocumentRoot expects a directory path. If it worked in Apache 1.3, it is an undocumented side effect. I suggest you do this properly: ServerName dome.tester.com DocumentRoot /web/sys DirectoryIndex init.php ... ... Regards, Robert Andersson --------------------------------------------------------------------- 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