I'm using the HTTP forward proxy script v3.2, but noticing some problems while testing.
If I do a telnet to the VIP with the iRule applied, and request a URL without the slash on the end, I get an error. It's fine if I put a slash on the end, but I can't guarantee that someone using my proxy will put the / on the end, eg
A bit of debugging and I think I've found the problem.
On line 48,
set new_path [findstr [HTTP::uri] $prefix [string length $prefix] ]
... returns nothing because there's nothing after the uri, so $new_path is empty.
Then on line 53, HTTP::uri goes empty.