New web page and edited localhost/index.html gives a 404 error
By Joseph Russell •
I am using Ubuntu and have AMP. I tried to create a new folder under /var/www/html/ it says not found. I edited the and that gives me a 404 error. I guess its something to do with the security.
localhost/index.html was OK before the edit
Appreciate all assistance.
Thanks Jean
11 Answer
Your logs are located in /var/log/httpd/ error_log will provide you with a good starting point.
Maybe this is what your looking for:
chcon -Rv -usystem_u -robject_r -thttpd_sys_content_t /var/www/html
At least it will be able to rule that out as an issue. I'm guessing you do not have any relevant errors in your logs?
5