From owner-freebsd-questions Sat Feb 26 6:56: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.wa.home.com (ha1.rdc1.wa.home.com [24.0.2.66]) by hub.freebsd.org (Postfix) with ESMTP id 888F837BB06 for ; Sat, 26 Feb 2000 06:56:02 -0800 (PST) (envelope-from johnmpurser@home.com) Received: from C37259A ([24.9.57.64]) by mail.rdc1.wa.home.com (InterMail v4.01.01.00 201-229-111) with SMTP id <20000226145602.ZGYR15342.mail.rdc1.wa.home.com@C37259A> for ; Sat, 26 Feb 2000 06:56:02 -0800 Reply-To: From: "John Purser" To: Subject: Apache error message: httpd: could not open document config file Date: Sat, 26 Feb 2000 06:58:25 -0800 Message-ID: <000001bf8069$efd37f80$40390918@vncvr1.wa.home.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello troops! As you recall, last week's battle to get my FreeBSD box hooked up to the internet was a success! Many thanks to all those who helped! :-) This weekend yer ever luvin' pal Sgt. "Rock" Newbie is going mano a mano with Apache. Current Status: getting tail kicked. Here's what I've got so far. I'm running FreeBSD 3.4 from a CD install. Apache 1.3 was selected at install and it does seem to be installed. I've found the executables and the config files. For intel on the enemy I'm using "Apache The Definitive Guide" provided by our crack G3 officer Col. O'Reilly. I tried creating a directory /usr/www/sites/toddle with three subdirectories ./conf, ./htdoc, ./logs. I copied the file httpd.conf to ./conf and edited it for user name and group name. Per the instructions in the book I cd'd to /usr/www/sites/toddle and as root I tried to start apache with the invocation: httpd -d /usr/www/sites/toddle. I get an error message back that says: fopen: No such file or directory httpd: could not open document config file /usr/www/sites/toddle/etc/apache/httpd.conf I could create this directory and move the config files to it but I'd rather understand why the book instructions don't work first. I tried renaming the *.conf files in /usr/local/etc/apache but that didn't seem to have any effect. I'd really like to get my configuration to the point where I can follow the book's instructions. Any help appreciated. John Purser To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message