From owner-freebsd-apache@FreeBSD.ORG Mon Feb 16 17:17:36 2009 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B0E710656F7 for ; Mon, 16 Feb 2009 17:17:36 +0000 (UTC) (envelope-from santropol@googlemail.com) Received: from mail-bw0-f165.google.com (mail-bw0-f165.google.com [209.85.218.165]) by mx1.freebsd.org (Postfix) with ESMTP id 718A28FC29 for ; Mon, 16 Feb 2009 17:17:35 +0000 (UTC) (envelope-from santropol@googlemail.com) Received: by bwz9 with SMTP id 9so1544397bwz.19 for ; Mon, 16 Feb 2009 09:17:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=i6yAhD4FjMwO/8eUxL8Edno7MTrrlNAnfP5N7k+tYGQ=; b=KAjJlDr6kUeEV5Oh0inX5LFWewOZAFaG/fRXeZtNeuramvitb5GmQ4gqbf3xt/M/Z9 q2IkfSEEfWgQKgW87mHlwZcIRnY8wtKhsmdf6I9TranPVhgVc651qHDF31Qco0GsA2Pb BxhM0qG9MNh7TD/MS7GOqVF38gSnMun+oZuQI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=FHWMnpJbR+/KMe2jzUhwSsE5/edgk13ho2wNh1m93+XG6uIHP3z6DUEKUaWUbftAsV LsiWE65ry4k1u+rIoAIWDc84bQipsZmYSVmEf7CJQpMuZ/mIE895Yw3ITFt3+QAFuPzJ CSVlpscdfn2cSxLhojNmfwaIc8x+++YoGOd3A= MIME-Version: 1.0 Received: by 10.180.224.13 with SMTP id w13mr799874bkg.40.1234803677772; Mon, 16 Feb 2009 09:01:17 -0800 (PST) Date: Mon, 16 Feb 2009 17:01:17 +0000 Message-ID: From: S Roulant To: freebsd-apache@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Help with Apache config X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 17:17:36 -0000 Apologies if this is a really stupid question, but I can't seem to figure out why httpd won't run. I've installed Apache 2.2 on FreeBSD in a Parallels virtual machine and am trying to get it to run on localhost. I've set the following in httpd.conf: Listen 127.0.0.1:80 ServerName 127.0.0.1:80 ServerAdmin (my email) Document Root "/usr/local/www/apache22/data" I then entered: #kldload accf_http #apachectl start According to all the setup guides I've read, this should be sufficient to get Apache working when I type 127.0.0.1 or http://localhost into a browser, however lynx returns the error "unable to connect to remote host" and when I run ps -a, httpd is not running. Sending a ping to 127.0.0.1 or localhost works, though. "#apachectl status" returns the following: Looking up localhost Making HTTP connection to localhost Alert!: Unable to connect to remote host lynx: Can't access startfile http://localhost/server-status Can someone tell me what I'm doing wrong? Any help is much appreciated.