numen_235631
Nov 24, 2015Nimbostratus
remapping issue
Hi,
I need some help with irule (or any other solution that will help) I have to make my URLs shorter so I’m doing below remapping
`Code`
when HTTP_REQUEST {
HTTP::uri [string map -nocase {"/" "/xxxxx"} [HTTP::uri]]
}
Original link looks like that: https://link.domain.com/xxxxx and after remapping https://link.domain.com/
It causing one problem – logo image located on this site disappear after remapping So this is effect of this remapping https://link.domain.com/images/logo.png but it should look like that https://link.domain.com/xxxxx/images/logo.png
how can I prevent it? of course i want to make my link shorter but i want to exclude such behavior.