apache - .htaccess Redirecting All Errors to a PHP file with GET variable -


i'm trying figure out how redirect errors pages redirect to/error.php?e={error here}.

for example, if user encountered 404 error, directed /error.php?e=404.

is there possible way of doing this?

you can use apache error document config. here more info

http://httpd.apache.org/docs/2.2/custom-error.html


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -