I have some problems with httpd and can't configure it(can't open in browser). I have done it a lot of times, but now I missing something.
I have installed CentOS 6.5 on virtualbox with ubuntu 14. Use bridge connection with local ip addr.
In httpd.conf change this line,
#Listen 192.168.1.144:80
but without "#" won't start httpd service. With 127.0.0.1 or 0.0.0.0 also have the same problem.
In iptables
:INPUT ACCEPT [0:0]
:`FORWARD ACCEPT [0:0]`
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT
port 80 is open. In my router is also open.
I try and with nginx, but I have the same problem. I start to thing the problem is virtualbox or ubuntu.
EDIT 1: This is from error_log:
[Mon Jul 14 17:11:02 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jul 14 17:11:02 2014] [notice] Digest: generating secret for digest authentication ...
[Mon Jul 14 17:11:02 2014] [notice] Digest: done
[Mon Jul 14 17:11:02 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Mon Jul 14 18:18:53 2014] [notice] caught SIGTERM, shutting down
[Mon Jul 14 18:18:54 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Mon Jul 14 18:18:54 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jul 14 18:18:54 2014] [notice] Digest: generating secret for digest authentication ...
[Mon Jul 14 18:18:54 2014] [notice] Digest: done
[Mon Jul 14 18:18:54 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
Maybe the problem is in the VirtualBox, because on my Ubuntu(the main OS) apache is running very well.
EDIT 2
PROBLEM SOLVED!
I change VirtualBox with VMware and now I don't have problems.. :)