Forum Discussion
Ashwini_6674
Aug 08, 2012Nimbostratus
iRule using Sideband
When a user clicks on a pdf (for example), how do I create 2 requests -
One that actually takes the user to that pdf
Second , route the request to a dummy (Cold Fusion) page that has some...
Ashwini_6674
Oct 03, 2012Nimbostratus
So far, I have only th eirule to redirect to my dummy link, which should not be visible to the user.
I am having difficulty in creating a rule, so the user is directed to the pdf link that he clicked.
if { [string tolower [HTTP::path]] ends_with ".pdf" }{
HTTP::redirect "http://cmspublish.niehs.nih.gov/wt.cfm?fileurl=http://[http_host][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