Hi in rewrite valve there is this comment: // FIXME: Proxy not supported, would require proxy capabilities in Tomcat /* } else if (flag.startsWith("proxy") || flag.startsWith("P")) { rule.setProxy(true);*/ Is it planned to actually implement it? One implementation could rely on some external library addition like httpcomponent for instance. Wdyt? If not intended maybe throwing an error or warning should replace that commented logic?
The documentation for the valve is accurate ("P" is not mentioned). Writing a proxy is rather big business IMO both for development and even more for maintenance. There's no plan to write one at the moment, unless something is contributed.
I've updated the comments to make it clear that there are no plans to implement proxy support. This has been fixed in: - 9.0.x for 9.0.0.M22 onwards - 8.5.x for 8.5.16 onwards - 8.0.x for 8.0.45 onwards