I want to change the default error message for http 400 error with my error message .
I have made changes in
httpd.conf but the same is not reflection in the response pages .
i have made 2 changes to httpd.conf
- uncommented ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
- changed ErrorDocument 400 ":AGPRSOKB; 400 error " to display :AGPRSOKB; as the error message as the message when http 400 takes place .
I restarted the apache after making the changes.
but i am still getting the same html error .
HTTP/1.1 400 Bad RequestDone
Date: Sat, 01 Feb 2014 09:26:36 GMTDone
Content-Type: text/html; charset=iso-8859-1Done
Your browser sent a request that this server could not understand.
I am unable to understand if I need to make any other change .