I'm testing client software which responds differently depending on a webserver's response code.
For the purposes of testing, I need to configure my Apache server to return specific error codes, such as 500, 403, and many others.
I don't want to have to produce the condition for each error code, I just want to return the error code to the browser/client for testing.
Hopefully the syntax is simple such as the case of a redirect:
Redirect 303 /two http://example.com/other
But in theory I would like something like this:
Redirect 500 /test /test2
Does anybody know how to do this?
Thanks!