Former Member
Jun 27, 2017Conditionally inject text into HTML responses
Hello,
An LTM needs to inspect a server's response pages and rewrite the HTML so that, for every URL written without a specific URI path, the URI path is inserted.
Example:
Server sends back calls to URL
http://server.example
/path/image.jpeg
-- Ok, no action
Server sends back calls to URL
http://server.example/image.jpeg
-- Need to inject /path
I haven't been able to get a working syntax, any help will be immensely appreciated.