I want to rollout different error pages once their occures an internal server error.
I know you can define your own error pages using apache using that directive
ErrorDocument 500 /errors/500.html
But, I want to show a human readale version on my frontpage, but ship an xml file once my api runs into an internal server error. I tried using RewriteCond, but even though there was no configuration issue I could not get the expected results.