I have a new dedicated server cpanel, cloudlinux migrated from DirectAdmin, and when I checked the error logs, I found many file does not exist errors - ie File does not exist: /home/fascia/public_html/404.shtml
Yet there are error documents in the following: /usr/local/apache/htdocs
How do I get the /usr/local/apache/htdocs error documents to be used? I am not so keen on having to copy the default error files to every directory, or do I have to do this in order to get the error pages working??? - once I have the default ones working, I will then be creating some custom ones based off the default.
https://httpd.apache.org/docs/current/mod/core.html#errordocument seems to say that the errordocument.conf is relative to the clients root directory. - so why do the /usr/local/apache/htdocs files exist...
If I am able to get those error documents in /usr/local/apache/htdocs working, will they still be able to work with cagefs turned on for a client. What would I have to do to get them working?
- adding the path to cafefs.mp ???
- creating a new cfg file in /etc/cagefs/conf.d/ ???
Shouldn't the error files work by default and not throw up the errors???
Thanks.
Yet there are error documents in the following: /usr/local/apache/htdocs
How do I get the /usr/local/apache/htdocs error documents to be used? I am not so keen on having to copy the default error files to every directory, or do I have to do this in order to get the error pages working??? - once I have the default ones working, I will then be creating some custom ones based off the default.
https://httpd.apache.org/docs/current/mod/core.html#errordocument seems to say that the errordocument.conf is relative to the clients root directory. - so why do the /usr/local/apache/htdocs files exist...
If I am able to get those error documents in /usr/local/apache/htdocs working, will they still be able to work with cagefs turned on for a client. What would I have to do to get them working?
- adding the path to cafefs.mp ???
- creating a new cfg file in /etc/cagefs/conf.d/ ???
Shouldn't the error files work by default and not throw up the errors???
Thanks.