Forum Discussion
kpark_340842
Nimbostratus
Apr 30, 2018iRule to redirect web page content
if i have web site and if i like to redirect to on pics.abc123.com/pics/abcd/efg/abc.jpg. how do i need to preserve the path? and do the redirect?
thanks in advance..
- Faruk_AYDIN
Nimbostratus
if u wanna do it for only jpg/jpeg files:
when HTTP_REQUEST { if { [HTTP::path] ends_with ".jpg" || [HTTP::path] ends_with ".jpeg"} { HTTP::redirect "pics.abc123.com[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