Hi- Could you show the results of a cURL both through your ATS and direct to the origin? eg
through your ATS -- change 192.168.0.1 to its IP, and port 80 to its http port $ curl -IX GET -x 192.168.0.1:80 http://www.abc.com/c ... and to the origin: $ curl -IX GET http://www.abc.com/c miles On Wed, Jul 18, 2018 at 12:24 AM, Sean G <[email protected]> wrote: > Hi Everyone, First time question, so please take it easy with me :) I'm > using ATS to act as a basic forwarding proxy to a known end-point. > Everything is working exactly as I want it to apart from one minor issue. > Works fine example ---------------------- Call target URL (e.g. > http://www.abc.com/c/) and replacement content (http://www.xyz.com/c/) is > called and shown. i.e. http://www.abc.com/c/ remains in the browser Issue > example (notice the missing end slash on the target url!) ---------------- > Call target URL (e.g. http://www.abc.com/c) but replacement > (http://www.xyz.com/c/) is shown as as browser URL like its doing a > redirect? i.e. http://www.xyz.com/c/ is shown in bowser instead of > http://www.abc.com/c This seems to be all because of a missing end slash. > records.config has all default settings apart from server_ports STRING > r-pass:80 and proxy.config.http.cache.http 0 (I dont wish to cache). > remap.config has the following... map http://www.abc.com/ > http://www.xyz.com/ I tried reverse_mapand redirect but with no success. Can > someone point me in the right direction please? Many thanks in advance. > ________________________________ > Sent from the Apache Traffic Server mailing list archive at Nabble.com.
