Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2000 16:54:53 +1000 (E. Australia Standard Time)
From:      Doug Young <dougy@gargoyle.apana.org.au>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD / Apache problems (maybe) 
Message-ID:  <Pine.WNT.4.21.0002221643460.680-100000@ROADRUNNER>

next in thread | raw e-mail | index | archive | help
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 <FreeBSD> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.WNT.4.21.0002221643460.680-100000>