trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean G <p...@ukfindit.com>
Subject remap.config trailing slash problem
Date Wed, 18 Jul 2018 07:24:53 GMT
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: http://apache-traffic-server.24303.n7.nabble.com/
Mime
View raw message