Forum Discussion
Combine Client accepted and http_request.
Hello Kevin
Then can I do it as below , Sorry I am new to F5. when HTTP_REQUEST {
if { [IP::addr [IP::client_addr] equals src.src.src.src] } { pool my_pool member dst.dst.dst.dst }
if { [HTTP::host] == "fqdn" } { HTTP::redirect "https://fqdn/irj/portal/" pool pool_t_portal }
if { [HTTP::uri] equals "/" or [HTTP::uri] equals "/index.html" or [HTTP::uri] equals "/webdynpro/welcome/Welcome.jsp" } { HTTP::redirect "https://[HTTP::host]/irj/portal/" } if { [HTTP::uri] starts_with "/~" and [HTTP::uri] ends_with "index.html"} { HTTP::redirect "https://[HTTP::host]/irj/portal/" } if { [HTTP::uri] starts_with "/uddiclient" or [HTTP::uri] equals "/uddiclient/process"} { HTTP::redirect "https://[HTTP::host]/irj/portal/" } if { [HTTP::uri] equals "/nwa" } { HTTP::redirect "https://[HTTP::host]/irj/portal/" }
}
Recent Discussions
Related Content
* 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