From owner-freebsd-questions Sat Sep 2 11:13:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 0C94A37B424 for ; Sat, 2 Sep 2000 11:13:35 -0700 (PDT) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=root) by scientia.demon.co.uk with esmtp (Exim 3.16 #1) id 13VGvK-000BqC-00; Sat, 02 Sep 2000 18:17:46 +0100 Received: (from ben@localhost) by strontium.scientia.demon.co.uk (8.9.3/8.9.3) id SAA67606; Sat, 2 Sep 2000 18:17:46 +0100 (BST) (envelope-from ben) Date: Sat, 2 Sep 2000 18:17:46 +0100 From: Ben Smithurst To: phylos@lycosmail.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to setup Apache with a localhost Message-ID: <20000902181746.M72445@strontium.scientia.demon.co.uk> References: <000901132749DF.15229@weba6.iname.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <000901132749DF.15229@weba6.iname.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG phylos@lycosmail.com wrote: > Hi hello, I need some information about how to setup apache with my localhost (127.0.0.1). I dont know so much TCP/IP in FreeBSD. I easily set up the localhost with Linux and Windows NT with a domain and the ip (127.0.0.1). I tried many things like the host file and setting httpd.conf and apache.conf in the folder /usr/local/etc/apache. If use the command ping, its seems to me that the localhost is working because Im reciving answer that the protocol is fine. But if I tried to open the localhost (127.0.0.1) in the browser to see if the webserver is working, I dont receive answer, Tried to things I wrote the ip address and the localhost, but is not working. I would like to see if someone can help with that. I dont know so much about FreeBSD (Only the kernel configuration). I have FreeBSD 4.0 on a Pentium Celeron with 128 of ram. Try to wrap your lines at about 80 characters like the rest of the world does. The text above is hard to read. > Hi hello, I need some information about how to setup apache > with my localhost (127.0.0.1). I dont know so much TCP/IP in > FreeBSD. I easily set up the localhost with Linux and Windows NT > with a domain and the ip (127.0.0.1). I tried many things like the > host file and setting httpd.conf and apache.conf in the folder > /usr/local/etc/apache. If use the command ping, its seems to me that > the localhost is working because Im reciving answer that the protocol > is fine. But if I tried to open the localhost (127.0.0.1) in the > browser to see if the webserver is working, I dont receive answer, > Tried to things I wrote the ip address and the localhost, but is not > working. I would like to see if someone can help with that. I dont > know so much about FreeBSD (Only the kernel configuration). I have > FreeBSD 4.0 on a Pentium Celeron with 128 of ram. Better, isn't it? Anyway. What does 'telnet localhost 8080' do? What does 'netstat -an | grep LISTEN' show? What does 'sockstat' show? Have you put anything special in your Apache config files that is different to the default? -- Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message