Forum Discussion
Alex_3268
Nimbostratus
Jan 18, 2008Performaing complex Apache like rewrites
Hi,
I've been searching and reading this forum and others for information on replacing Apache rewrites with iRules but I'm still somewhat confused as to whether this is entirely possible and if it...
hoolio
Cirrostratus
Jan 18, 2008Hi,
I believe the original rule is just rewriting the host and URI on requests. That's also what the rule example does. So you wouldn't need to rewrite response headers or data.
If you do what to modify response headers, you can use 'HTTP::header replace' (Click here). To replace content, you can use a stream profile and STREAM:: commands. Take a look at the STREAM::expression wiki page for an example (Click here)
Aaron
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