Forum Discussion
wkirk
Nimbostratus
Jan 26, 2018Using wildcard for multiple URI
We have an existing iRule and datagroup,
when HTTP_REQUEST {
set uri [HTTP::uri]
if {[class match $uri starts_with DG1]} {
pool POOL_SSL
}
if {[class match $uri eq DG_EXACT] or $uri eq "/"...
jaikumar_f5
Noctilucent
Jan 26, 2018If your intention is to allow every URI of a particular domain, why do you put wildcard of /* rather than just whitelisting the particular domain itself.
So you need not worry of adding thousands of URI, but just allow that particular host.
when HTTP_REQUEST {
if { [HTTP::host] contains "domain.com" }
{ pool POOL_SSL }
else
{ drop }
}
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