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...
JRahm
Admin
May 19, 2006The error is in your pool statement, you are missing the connector between spiders/www and the output of [HTTP::header Host]. I'm not sure how your pool is defined, but following the other rule it would look like this:
when HTTP_REQUEST {
if { [matchclass [HTTP::header User-Agent] contains $::useragents] } {
pool spiders_[HTTP::header Host]
} else {
pool www_[HTTP::header Host]
}
}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
