Hi all,
I ran into trouble trying to setup apache on centos4.6.
i can display
http://localhost
http://hostname.domain.com
http://127.0.0.1
fine, but ONLY on the machine I am trying to set up apache. But I cannot display anything when I try from any other machines. Chaning selinux to permissive did not help. Specifying the server name in httpd.conf did not help. Also checked selinux settings of /var/www/.
I tried this on 2 machines, both with centOS 4.6
First machine:
Server version: Apache/2.0.63
php-5.1.6-3.el4s1.9
pcre-4.5-4.el4_6.6
apr-0.9.4-24.9
apr-util-0.9.4-21
(All from centosplus yum repo)
Second machine
Server version: Apache/2.2.3-8
php-5.1.6-3.el4s1.9
pcre-4.5-4.el4_6.6
apr-1.2.7-10
apr-util-1.2.8-2
(php and pcre from centosplus yum repo; apache, apr and apr-util from rpms compiled for centOS4)
These two machines are behind a switch (linksys EZXS55W), NOT a router. Would the swich also cause problems?
Have been trying to solve this for days...Please help!
Ned
Apache2 only works locally
Apache2 only works locally
Hi,
Did you check if you have iptables running ? Try this: service iptables stop as root.
This will unload iptables.
Bgrds,
Finnzi
Did you check if you have iptables running ? Try this: service iptables stop as root.
This will unload iptables.
Bgrds,
Finnzi