I'm taking a Linux course and I have no idea on how to get past this annoying error:
chcon: cannot access path: No such file or directory
But before that we had to define our virtual host
Perhaps maybe that's where the error resides, but I'm not sure because I've checked and retyped everything but still get the error after replacing everything with my FQDN.
Then he asked us to "create the actual directories we just defined for our Virtual Hosts".
cd /var/www/html sudo mkdir default sudo chcon -R -t httpd_sys_content_t beta.lt.unt.edu/ beta-vh.lt.unt.edu/ sudo systemctl restart httpd.service
This is where my brain starts hurting because instead I get this error.
chcon: cannot access ‛elm.lt.unt.edu/elm-vh.lt.unt.edu/’: No such file or directory
Why is it saying that? I asked the instructor but it was no help.