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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 29/01/16 16:45, reynierpm@xxxxxxxxx wrote:
> On Fri, Jan 29, 2016 at 11:41 AM, Michael H <michael@xxxxxxxxxx> 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 of SELinux? Or this is new kind of extra security layer on CentOS7?
> I am moving from Centos 6.7 to 7 and things change between versions.
Selinux has been around for a while.

setsebool - set selinux boolean

You should probably be using the firewall-cmd rather than iptables;
firewall-cmd --add-service=http --permanent - add the http service to
your firewall.

I forgot, unless you run

firewall-cmd --reload

the rules may not be in play.

Michael


> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
> 

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux