Re: Clarification on withInboundCorrection method…

Splash Forums Rewrite Users Clarification on withInboundCorrection method… Re: Clarification on withInboundCorrection method…

#22505

Hey all,

I just tried to reproduce this. It is really weird. AS7 and Tomcat seem to behave differently here. This is the relevant rule:

Join.path("/PrettyURL").to("/moduleA/ThePage").withInboundCorrection()

On Tomcat both URLs (/PrettyURL and /moduleA/ThePage) directly render the correct page (200 OK response).

On AS7 accessing /PrettyURL results in a 404 and accessing /moduleA/ThePage results in a 301 to /PrettyURL.

Weird!