Re: [CentOS] Apache doesn't display "It works page" under CentOS 7

2016-01-29 Thread reynie...@gmail.com
On Fri, Jan 29, 2016 at 11:56 AM, Michael H wrote: > I've setup several web servers this week, if this isn't working, you > broke something. We always use minimal installs. > No problem, it works! Thx ___ CentOS mailing list CentOS@centos.org https://l

Re: [CentOS] Apache doesn't display "It works page" under CentOS 7

2016-01-29 Thread Michael H
On 29/01/16 16:52, reynie...@gmail.com wrote: > On Fri, Jan 29, 2016 at 11:48 AM, Michael H wrote: > >> Selinux has been around for a while. >> > > Yes, I know this but ... > > >> >> setsebool - set selinux boolean >> > > What I am asking is if the command above is part of SELinux since I doe

Re: [CentOS] Apache doesn't display "It works page" under CentOS 7

2016-01-29 Thread reynie...@gmail.com
I should add this is a minimal CentOS perhaps it's lacks a few packages and I am not aware of which ones On Fri, Jan 29, 2016 at 11:52 AM, reynie...@gmail.com wrote: > > On Fri, Jan 29, 2016 at 11:48 AM, Michael H wrote: > >> Selinux has been around for a while. >> > > Yes, I know this but ...

Re: [CentOS] Apache doesn't display "It works page" under CentOS 7

2016-01-29 Thread reynie...@gmail.com
On Fri, Jan 29, 2016 at 11:48 AM, Michael H wrote: > Selinux has been around for a while. > Yes, I know this but ... > > setsebool - set selinux boolean > What I am asking is if the command above is part of SELinux since I doesn't use before because it's a VM running on my PC so I not need su

Re: [CentOS] Apache doesn't display "It works page" under CentOS 7

2016-01-29 Thread Michael H
On 29/01/16 16:45, reynie...@gmail.com wrote: > On Fri, Jan 29, 2016 at 11:41 AM, Michael H wrote: > >> setsebool -P httpd_can_network_connect on >> firewall-cmd --add-service=http --permanent >> > > I have ran those two and still can't access. I have restarted httpd and > iptables services afte

Re: [CentOS] Apache doesn't display "It works page" under CentOS 7

2016-01-29 Thread reynie...@gmail.com
On Fri, Jan 29, 2016 at 11:41 AM, Michael H wrote: > setsebool -P httpd_can_network_connect on > firewall-cmd --add-service=http --permanent > I have ran those two and still can't access. I have restarted httpd and iptables services after ran those lines. BTW, what those means? setsebool is part

Re: [CentOS] Apache doesn't display "It works page" under CentOS 7

2016-01-29 Thread Michael H
On 29/01/16 16:35, reynie...@gmail.com wrote: > I have Apache/2.4.6 installed in a minimal CentOS 7 VM. I am trying to > access the default page when Apache is installed by accessing the CentOS IP > as http://192.168.3.130 (is a host only interface) but I got "This webpage > is not available: ERR_C