How can I make .htaccess display errors from a PHP file? I mean when I search a non-existing file .htaccess should show me an error page from error.php, but error.php needs
//Custom 403 errors ErrorDocument 403 your-path/403.php //Custom 404 errors ErrorDocument 404 your-path/404.php //Custom 500 errors ErrorDocument 500 your-path/500.php