Forum Discussion
EM
Nimbostratus
8 years agoHTTP Rewrite from ILXPlugin
Hi DevCentral community! I am currently trying to develop an iRule ILXPlugin, which is capable of rewriting the destination URL of the client request (including destination HOST, URI, PATH, QUERY...
8 years ago
You can change the
path, uri and other parameters with the same setHeader function. Like this:
flow.client.on("requestComplete", function(request) {
request.setHeader('uri', '/test');
request.setHeader('version', 'HTTP/1.0');
request.complete();
});
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