From owner-freebsd-questions@FreeBSD.ORG Thu Jun 28 01:56:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9ECE716A421 for ; Thu, 28 Jun 2007 01:56:49 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 5397913C48A for ; Thu, 28 Jun 2007 01:56:49 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 1712 invoked from network); 27 Jun 2007 20:56:49 -0500 Received: from unknown (HELO localhost) (210.84.50.231) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 27 Jun 2007 20:56:49 -0500 Date: Thu, 28 Jun 2007 11:56:44 +1000 From: Norberto Meijome To: "Andrew Falanga" Message-ID: <20070628115644.5bd94949@localhost> In-Reply-To: <340a29540706271842x1bbef4abm142568bca8b7f505@mail.gmail.com> References: <340a29540706271842x1bbef4abm142568bca8b7f505@mail.gmail.com> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: Help getting apache 22 working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2007 01:56:49 -0000 On Wed, 27 Jun 2007 19:42:11 -0600 "Andrew Falanga" wrote: > Hi, > > I've installed apache 22 on my churches web server and am having some > difficulty getting it working. I've figured out that I need something > call accept filters accept_filter(9) for this as the server was > complaining about a missing file named "httpready" (or something like > this). I found from the Apache site linked in the handbook that I > need to have a kernel module named accf_http loaded, which I have > done. This has actually eliminated that error. accf_http is not compulsory for apache to work. > > However, the server still isn't working as a "lynx localhost" is > denied and sockstat doesn't show any listening sockets on port 80. > What else needs to be done to get apache 22 working? did you add the enabling line in /etc/rc.conf? For version 2.2 it should be apache22_enable="YES" ( you actually need to check the startup script at /usr/local/etc/rc.d/, in this case /usr/local/etc/rc.d/apache22 to see what _enable line is needed ) then you start the webserver with /usr/local/etc/rc.d/apache22 start ( or 'forcestart' instead of start if you don't have the _enable line in rc.conf) Also, make sure you have no firewall in place stopping the traffic. _________________________ {Beto|Norberto|Numard} Meijome Q. How do you make God laugh? A. Tell him your plans. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.