From owner-freebsd-questions Mon Feb 21 22:48:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from goblin.apana.org.au (goblin.apana.org.au [203.3.126.3]) by hub.freebsd.org (Postfix) with ESMTP id 390AC37B639 for ; Mon, 21 Feb 2000 22:48:07 -0800 (PST) (envelope-from dougy@gargoyle.apana.org.au) Received: (from uucp@localhost) by goblin.apana.org.au (8.8.8/8.8.8) id QAA16567 for ; Tue, 22 Feb 2000 16:47:52 +1000 (EST) (envelope-from dougy@gargoyle.apana.org.au) Received: from matey.apana.org.au(203.3.126.134), claiming to be "ROADRUNNER" via SMTP by goblin.apana.org.au, id smtpdw16565; Tue Feb 22 16:47:43 2000 Date: Tue, 22 Feb 2000 16:54:53 +1000 (E. Australia Standard Time) From: Doug Young To: freebsd-questions@freebsd.org Subject: FreeBSD / Apache problems (maybe) Message-ID: X-X-Sender: dougy@[203.3.126.1] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'd appreciate some advice on diagnostic procedures to find exactly where the problem is in a FreeBSD / Apache 1.3.6 setup. The subject is possibly borderline off-topic, but I'm far from certain whether the real problem is in the operating system configuration or in apache configuration. So far I've read everything on the apache.org site, the FreeBSD handbook, Complete FreeBSD, Linux HOWTO (yeah I know :( but I was getting desperate by then, a bunch of stuff on the web, etc, and I'm no wiser than I was a couple days ago. Hopefully the info below will assist someone a lot more knowledgable than me diagnose the problem * httpd appears to be working ... * "./apachectl stop" & "./apachectl start" give correct responses * lynx / ping / traceroute / telnet to the Apache box all work fine * I've stopped & restarted apachectl at least 50 times * Checked permissions on document directory * Checked "/var/log/error_log" ,& "var/log/apache_error_log" * Only entries are "Apache/1.3.6 PHP/3.0.7 configured" "caught SIGTERM, shutting down" .... (same messages in both) * still can't get past "error 404" when I try to access Apache There appears to be a heap of lines in httpd.conf for which no clear explanation is available .... I did try changing some things that appeared relevant but still no difference whatever Questions on the "httpd.conf" file *Exactly* what should be in "ServerRoot" ?? The default entry has "/usr/local" but the "httpd.conf" file is in "usr/local/sbin/apache" directory. Changing the entry to ""usr/local/sbin/apache" doesn't make any difference though. In a FreeBSD installation, should "ServerType" be "inetd" or "standalone" ?? Should the "ResourceConfig conf/srm.conf" line be commented ?? Should the "AccessConfig conf/access.conf" line be commented ?? Should the "listen to specific IP addresses" line be used ?? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message