Forum Discussion
eric_wu_55610
Nimbostratus
Aug 04, 2009URL deny
Hi all,
Anybody know how to deny URL in iRules ??
For example :
I want to deny "tw.yahoo.com" this url
how can I do write in iRule
Thank you ~
- hoolio
Cirrostratus
Hi,when HTTP_REQUEST { Check requested host header value if {[string tolower [HTTP::host]] contains "tw.yahoo.com"}{ Drop the connection drop Reset the connection reject Send a 403 response HTTP::respond 403 Content {Not allowed} } }
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