Forum Discussion
EM
Feb 03, 2018Nimbostratus
HTTP 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...
Feb 03, 2018
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();
});
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