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 DiscussionsiRule resulting in too many redirectsWhen F5OS r2800 appliance reboots, interfaces configured at tenant level for VLAN are lostcat and grep command for rst messagesiControl for Gtm wideipTelemetry streaming to Elasticsearch
Related ContentFederated AWS Console Access Made Easy: F5 BIG-IP Access Policy Manager Access Guided ConfigurationsF5 BIG-IP Access Policy Manager (APM) Machine Tunnels for WindowsUnable to access GUIF5's Access Policy Manager the Access Proxy for Zero Trust ArchitecturesReviewing vulnerability scanner results for an Access Policy Manager (APM) protected Virtual Server