about 404 page

I have changed the 404 page to reply.php page,in this page,
There is 2 question.
First , the url cant set "/reply.php" ,could set "http://domain/reply.php",
Second ,when the url set "http://domain/repy.php",the page can use
$_SERVER['HTTP_REFERER'];It's always show nothing.