Lab 7.2 - Virtual host
When I execute the command
chcon -R --reference=$DOCUMENTROOT /ipvhost/
then I get the error message
chcon: failed to get security context of ‘’: No such file or directory
Looks like SELinux to me. I checked the error log file and it says
[Wed Aug 09 07:59:36.145002 2017] [core:error] [pid 6343] (13)Permission denied: [client 192.168.153.55:60838] AH00035: access to /index.html denied (filesystem path '/ipvhost/index.html') because search permissions are missing on a component of the path
Not knowing SELinux very well I would like to understand what solution I could apply.
I would not want to disable SELinux. I would like to understand what permission can be added to the component of the path so that my browser displays the index file of the virtual host.