Forum Discussion
Jun 24, 2009
how to re-write page content
Hi,
I have a web app that sends some parameters in the body of the html as follows:
I need to find and rewrite these values to https://HOST_NAME:443/URI.
Is it also possible to make this happen only for certain responses , at the moment the GET which preceeds this response contains /scripts/oowa.exe/, would it be possible to parse for this somehow?
Any help is appreciated as I am a total newby to iRules
2 Replies
- hoolio
Cirrostratus
Hi there,
If you're offloading SSL on the BIG-IP for an OWA server, you should be able to instruct it to use HTTPS reference by inserting a custom HTTP header in requests:
FRONT-END-HTTPS: On
You can add this to a custom HTTP profile and then add it to your virtual server.
If you do want to rewrite HTTP headers, you can use HTTP::header replace original_header_name new_header_value (Click here). If you want to rewrite the content, you can use a stream profile and STREAM::expression iRule (Click here).
Aaron - Thanks for this, I will look into this.
PS. It's not OWA it's a home grown app.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
