Forum Discussion
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
1 Reply
Hi Yunan,
take a look to the ProxyPass iRule published on the F5 codeshare. It has a comparable feature set with the apache modules you are refering and is suitable for your outlined requirements.
https://devcentral.f5.com/codeshare/proxypass-v10-v11
Cheers, Kai
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
