On Fri, Feb 26, 2010 at 01:39:48PM -0800, Sriram Chavali wrote:
> Thanks for your reply,
>
> The redirect location is actually on a different server that is behind the
> firewall. What is best way to configure for this?
Then you'd better create a specific backend for it and force rewrite the URL
for that. It's a bit messy but at least you don't even send the 302 to the
client and instead you forward the rewritten faulty request to the server :
frontend xxx
...
use_backend violation if acl_met
...
backend violation
mode http
reqrep ^([^\ ]*)\ ([^\ ]*)\ (.*) \1\ /violation.html\ \3
server srv1 1.1.1.1:8080
Willy