Rewrites

set transform action rewrite1 -priority 10 -reqUrlFrom «https://abc.companyname.com/test/(.)» -reqUrlInto «https://hostname.internaldomain.com/$1» -resUrlFrom «https://hostname.internaldomain.com/(.)» -resUrlInto «https://abc.companyname.com/test/$1»

IF you’re original URL patterns are like, the (.*) captures the following in red:

https://abc.companyname.com/test/ << (In this case nothing is matched, which is fine)
https://abc.companyname.com/test/somepage.asp
https://abc.companyname.com/test/somedir/somepage.asp?a1=b1&a2=b2

When you transform into the backend pattern (request Into):

https://hostname.internaldomain.com/ << (nothing appended)
https://hostname.internaldomain.com/somepage.asp
https://hostname.internaldomain.com/somedir/somepage.asp?a1=b1&a2=b2

Deja un comentario