Forum Discussion
Rodrigo_Mori_13
Cirrus
Mar 23, 2018irules URL redirect
Hello people
I have an application running apache.
The app responds by URL http://app1example.com/example/url.pl
I need to create a redirect in F5, which to the digital URL http://app1...
oguzy_191375
Nimbostratus
Mar 24, 2018Hi Rodrigo,
When you try to create this irule, you should get an error like [undefined procedure: HTTP][HTTP :: path]. The same issue happens also for HTTP :: redirect. You just discard the blanks after and before colons, then it should work.
when HTTP_REQUEST {
if {[HTTP::path] eq "/"} {
HTTP::redirect "http://app1example.com/example/url.pl";
}
}
- Rodrigo_Mori_13Mar 25, 2018
Cirrus
Now it worked !
Thank you
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