I'm not sure I understand the question.
Under virtual host --> general I defined a custom error page for the error "404 not found". After that, All I did was set the URL, which happens to be $VH_root/404.php
do you consider the "404.php" file a script? Seems like it could be static HTML will the same result.