edit http response header named location and content/body
hi all,
im nubie on f5, now im implementing LTM for one of my customer, they need some requirement on the LTM, these are they want me to do :
-
in the Location response header, they need replace the http in the URL with https, for example on the apache proxy server which they have now, they do some thing like this ^*)$ https://portal.centraldata.net$1
-
for the mimetypes like text/html, text/plain, application/json, application/javascript, text/css, text/javascript application/xhtml+xml, application/xml, application/xhtml, they need to substitute "http" with "https" or substitute encoded http i.e. "http://" in the URL with https. for example on the apache proxy server which they have now, they do some thing like this " s| " and " s| "
can anyone help me how can i do this through iRule or GUI?
thank you
best regards,
Yunan