Forum Discussion
Bill_Rowell_102
Nimbostratus
May 18, 2006Reading User-Agent field for spiders
Trying to emulate the article by network computing:
http://devcentral.f5.com/Default.aspx?tabid=29&ArticleType=ArticleView&ArticleID=40&PageID=47
I've narrowed the code down to thi...
Bill_Rowell_102
Nimbostratus
May 19, 2006Ok, wondered what the underscore was for in the article I referenced earlier. Rules is not working right now, receiving Page Reset error. I've looked through some posts and saw that putting log local0 will put the output of the rule into the ltm log. How would that best be implemented in this rule?
when HTTP_REQUEST {
log local0. if { [matchclass [HTTP::header User-Agent] contains "Googlebot"] } {
pool nsa_[HTTP::header Host]
}
else {
pool www-l3_[HTTP::header Host]
}
}
Thanks for any assistance.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
