I am wondering if anyone has an examples or can point me in the right direction as to how I would go about limiting connections based on the HTTP::header User-Agent and based on HTTP::uri. I’m basically looking to replicate these apache redirects and add some connection limiting features:
Step1
RewriteRule ^/(.*\.shtml)$ http://me.you.com/$1 [P]
STEP 2
RewriteCond User-Agent: .*(?:Googlebot|msnbot|Slurp|Ask\sJeeves|Inktomi|Yahoo).*
RewriteRule ^/$ http://me.you.com/ [P]
RewriteCond User-Agent: .*(?:Googlebot|msnbot|Slurp|Ask\sJeeves|Inktomi|Yahoo).*
RewriteRule ^/index.jsp.* http://me.you.com/ [P]
Thanks,
Byzandula