tdix_303592NimbostratusDec 19, 2016Access /* from /foo/*.Have an application sitting at / on server. I am looking for a rule to direct all traffic from "example.com/foo" to server/.
1 ReplyReplies sorted by Most LikedSort ByMost LikedOldestNewestVijay_ECirrusDec 20, 2016You can send a redirect: when HTTP_REQUEST { if { ([HTTP::host] eq "example.com") and ([HTTP::uri] starts_with "/foo/") } { HTTP::respond 301 Location "http://[HTTP::host]/" } } If you are trying to mask the URI, see this link.
Vijay_ECirrusDec 20, 2016You can send a redirect: when HTTP_REQUEST { if { ([HTTP::host] eq "example.com") and ([HTTP::uri] starts_with "/foo/") } { HTTP::respond 301 Location "http://[HTTP::host]/" } } If you are trying to mask the URI, see this link.
Recent Discussionsservice profile HTTP in LTM v16.1?iRule resulting in too many redirectsAzure SAML - F5 APMConverting config to DOWildcard SSL Certificate Deployment on F5 LTM
Related ContentFederated AWS Console Access Made Easy: F5 BIG-IP Access Policy Manager Access Guided ConfigurationsAPI Security: How to implement API Access Control with F5F5 BIG-IP Access Policy Manager (APM) Machine Tunnels for WindowsPcap and accessing /var/tmpF5's Access Policy Manager the Access Proxy for Zero Trust Architectures