Forum Discussion
darrenclegg_199
Sep 09, 2011Nimbostratus
Access restriction to certain URLs
I have a simple iRule to only allow certain URLs access(see below)
when HTTP_REQUEST
{ if { not ([string tolower [HTTP::host]] eq "www.domain.com") }{
drop
HTTP::respond 20...
Eddy_20831
Oct 18, 2012Nimbostratus
Michael,
This worked fine.
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/xyz" } {
HTTP::redirect "http://[getfield [HTTP::host] ":" 1]/"
}
}
However, How do I use this to point to a group of URIs.
thanks,
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