ErrorDocument in php

Hello,

One of my client want use a php file for the 404 error code.
I use Cpanel.

I add in his .htaccess file the "ErrorDocument 404 /404.php" line,
but without result.

Then, I add the same line in the httpd.conf file, in his virtualhost section. No result...

Can you help me?

Best Regards.

 

 

 

 

Top