Actually, instead of calling TSSkipRemappingSet in pre-map hook, I called it in read-requesthdrs hook. That seems to have helped. Thanks.
> On Feb 12, 2016, at 8:02 PM, Sudheer Vinukonda <sudhe...@yahoo-inc.com> wrote: > > Can you turn on debug traces (tag: http) and check what might be going on? > > Thanks, > > Sudheer > > > > On Friday, February 12, 2016, 7:54 PM, Dnj <dnj0...@gmail.com> wrote: > > That's exactly what I did. I added a global pre map hook. In that, I set the > skip remap if it's an internal txn and if the txn URL matches my URL. > However, my request still fails with a 404. :( > > Bhasker. > > > On Feb 12, 2016, at 7:45 PM, Leif Hedstrom <zw...@apache.org> wrote: > > > > > >> On Feb 12, 2016, at 7:10 PM, Dk Jack <dnj0...@gmail.com> wrote: > >> > >> :( > >> > >> Doesn't seem to work. I am calling TSSkipRemappingSet in the PRE_MAP hook. > >> Is that too late for this setting? > > > > > > You added a PRE_MAP hook for the subsequent (FetchSM) request? Typically > > what you would do here is to have a global PRE_REMAP hook, which does 1 of > > 2 things (or both): > > > > > > 1) Check if it’s an internal request, and if so, turn off remapping > > > > 2) Check the request host / path, and if it matches one that you feel > > should not require remap, turn it off. > > > > > > I hope that makes any sense? > > > > — Leif > >