Change Http Errors

Document ID : KB000120657
Last Modified Date : 09/11/2018
Show Technical Document Details
Question:
I'd like to change the status code that the Web Agent gives back to
the Apache server, in order for the Apache server to print a 400
return code instead of 500 like this sample.

From 

10.0.0.1 - - [30/Oct/2018:02:00:30 +0100] "GET 
/myapplication/myurl.html HTTP/1.1" 500 183 ...

To 

10.0.0.1 - - [30/Oct/2018:02:00:30 +0100] "GET 
/myapplication/myurl.html HTTP/1.1" 400 183 ...
Answer:
This is at the moment not possible out of the box. In order 
to get that functionality, as return code mapping, we'd like you to 
open an Idea on the security page.