Forum Discussion
Youssef_Ghorbal
Sep 19, 2016Cirrus
APM Portal Access broken links
Hello,
I'm having an issue accessing some links of a website when using Portal Access. I tracked down the problem to the fact that the website I'm trying to access to generates "broken" URLs, for e...
- Sep 19, 2016
Yes you can do it easily with an irule like. Should be many examples on the irules wiki
when HTTP_REQUEST { if { [HTTP::uri] eq "blahblahblah" } { HTTP::uri "set it to the correct thing" } }
Josiah_39459
Sep 19, 2016Historic F5 Account
Yes you can do it easily with an irule like. Should be many examples on the irules wiki
when HTTP_REQUEST {
if { [HTTP::uri] eq "blahblahblah" } {
HTTP::uri "set it to the correct thing"
}
}
- Youssef_GhorbalSep 20, 2016Cirrus
You put me on the right track. I ended up using the REWRITE_REQUEST_DONE event since the HTTP_REQUEST is client side (and only deals with APM hashed URIs)
The iRule looks like :
when REWRITE_REQUEST_DONE { if { [HTTP::uri] starts_with "?" } { HTTP::uri /[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