I want to redirect to error page if the requested URI comes up with the 500 error.
I did some thing like this:
ErrorDocument 500 /Errors/500.php?p=%{REQUEST_URI}
to send to “500.php” the requested uri as a GET param to handle the request. But the 500.php does not receive the GET param.
How do I do this?
Thanks in advance.
you can just use $_SERVER[‘REQUEST_URI’] in your php file.
e.g.
should show the link, the user requested.