EasyApache 4 build 404 pages no longer working
In my .htaccess file for sites I have
ErrorDocument 404 /404.php
It doesn't seem to work to my custom 404 page when it did before. It's only after updating to EasyApache 4 and rebuilding Apache etc.
No matter what I do so:
ErrorDocument 404 404.php
ErrorDocument 404 "test"
doesn't work either. Any ideas?
-
Found there's an internal case for this and have used it and it works now. 0 -
Just had this problem, the new version creates a file called errordocument.conf inside your conf.d/includes file. This file is causing the problem and you need to remove it. Also its being created by a file in your apache-bin directory: /etc/apache2/bin/generate-errordoc-conf - I chmoded this file 000 and also edited the shebang (#!) at the top of the file to be double comment (##!) to ensure this script cannot run and recreate this file. 0 -
Hello, This is discussed on the following thread: SOLVED - Error Document Directives Issue Thank you. 0
Please sign in to leave a comment.
Comments
3 comments