Forum Discussion
MihirJoshi_3137
Mar 14, 2017Nimbostratus
Allow user agents to scrape my website
I am trying to write a iRule which allows facebopot to scrape my webpage
when HTTP_REQUEST {
if { [HTTP::header "User-Agent"] contains "Valid_Agents_for_Facebook" } {
ASM::disable
} els...
- Mar 14, 2017
Finally got it working,
when BOTDEFENSE_ACTION { if { [class match [string tolower [HTTP::header "User-Agent"]] contains "Valid_Agents_for_Facebook"] } { BOTDEFENSE::action allow } }
Vijay_E
Mar 14, 2017Cirrus
Are the values within the datagroup case-sensitive and have you added them as they are expected to show up from facebook ?
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