Particular requests are coming into my site formed as: www.example.com\
The trailing backslash is causing a 503 response to come from the server, which is behind an ELB, ideally I'd send these back with a 400 Bad Request response.
I've tested:
Redirect 400 ^/testurl$
And that works.
But the following:
Redirect 400 ^\\$
doesn't have any effect, probably because apache vhost is looking for the backslash after the trailing /
Does anyone have any idea how I can accurately target a request for www.example.com\ ? Or is there something about having a \ in the request that's causing another issue?