This header filter watches for outbound URL requests, stuffs into a variable anything found after "http" or "ftp" ...and JUMPs to this tail-end destination.
It should handle what you're tring to do.
Look in your config and see if it's already in there & just not activated.
I thought it was a default filter (part of the Prox distribution package).
In = FALSE
Out = TRUE
Key = "URL: Un-Prefixer (Out)"
Match = "[^]+w[^a-z]((http|ftp)(%3A|:)(%2F|/)[^&]+)1"
Replace = "$JUMP($UESC(1))"
I use one or more of the WEBfilters posted earlier in this thread ~~ rather than this HEADER filter I'm posting.
One of the log-time Prox users, Homeric, still uses the header filter, but only for select sites. He sez:
"performs redirects on Altavista, Yandex, Rambler and Hotmail. It is preferable to use this filter than the unprefixer web filter, because it works faster. It is active on specific URLs to prevent errors."
FWIW, his URL line for this filter looks like this:
URL = "(www.|)((ya(ndex|).ru/redir)|altavista.com/r)|search.rambler.ru/click|64.4.[^/]+/cgi-bin/linkrd"