The pertinent part of my .htaccess looks like this:
Options -Indexes
Order allow,deny
Deny from all
Re
ErrorDocument 400 /fake_file_for_apache_404.php
ErrorDocument 403 /fake_file_for_apache_404.php
ErrorDocument 404 "404 Not Found Not Found
The requested URL was not found on this server.
"
ErrorDocument 500 "Server in update. Please comme back later."
I tried this solution, but I met another issue:
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request: