Enable Apache UserDir In CentOS 7 / RHEL 7 with SELinux

Enable Apache UserDir In CentOS 7 / RHEL 7 with SELinux

Lets show you how to install userdir for Centos 7 with Selinux Enabled. In this method all users should have their own public_html directory.

1. Go to root user

2. Create /etc/httpd/conf.d/userdir.conf file

Install apache: 

Enable Apache Userdirs

add:

Restart apache

Then create user’s public_html and assign …Read More