LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Cannot reach localhost (https://www.linuxquestions.org/questions/linux-from-scratch-13/cannot-reach-localhost-20624/)

fend88 05-10-2002 01:15 AM

Cannot reach localhost
 
I installed apache 2.0.35 in my LFS. After installation, apachectl can start without problem.

I tried to access 127.0.0.1 with my browser (netscape 6 & lynx) but it came out "Cannot reach remote host". It tried to access my ip address (192.168.0.22), the result also the same. I ping 127.0.0.1 & 192.168.0.22, all works fine.

My apache cannot run on user nobody ; group -1. I used user fend88 - group 2. This configuration works.

Please hep me to rectify this problem. Thanks in advance.

FYI: my network setting:

hosts:
127.0.0.1 localhost
192.168.0.22 FunClub.com FunClub

network
NETWORKING=yes
HOSTNAME=FunClub
DOMAINNAME=com
GATEWAY=192.168.0.99
GATEWAY_IF=eth0

host.conf
order hosts,bind
multi on

resolv conf
nameserver 202.145.0.1
nameserver 202.155.0.10
nameserver 202.145.0.2

ifconfig.eth0
DEVICE=eth0
ONBOOT=yes
IP=192.168.0.22
NETMASK=255.255.255.0
BROADCAST=192.168.0.255

fend88 05-13-2002 12:29 AM

Ok, I found that the problem is with php 4.2.0 and Apache 2.0.36.
PHP 4 support for apxs2 is still experimental (according to PHP web).
Now I am trying to install apache 1.3.24 with php 4.2.0.


All times are GMT -5. The time now is 12:00 AM.