Forum Discussion
Pawel_G_306732
Jan 18, 2017Altostratus
Redirect iRule for http TimeStamp service
Hi fellows, I have spent couple of days struggling to redirect Time-Stamp service to different port.
Basically it's a normal http connection based service.
I Wrote an iRule:
when HTTP_REQUEST
...
- Jan 19, 2017
Ok, so I've changed redirect to HTTP::respond 307 Location as redirect can't pass POST.
Everything works fine now :)
Thanks for advice on -L switch in curl @Jad.
Stanislas_Piro2
Jan 18, 2017Cumulonimbus
Hi,
if you want to check port, you can use this irule :
when HTTP_REQUEST {
if {([HTTP::path] contains "tsa") and ([TCP::local_port] equals "8080") }{
HTTP::redirect "http://10.132.24.96:8040[HTTP::uri]"
}
}
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