I've not tested it, but try changing the first ProxyLike regexp, from: /(href\s*=\s*["']?)(#{ uri }|\/+)/ to: /((?:href|action|src)\s*=\s*["']?)(#{ uri }|\/+)/ That ought to fill in the various gaps. -mental