Help for this page
if ($ENV{'HTTP_USER_AGENT'}=~/^googlebot\/2\.1|slurp|some_other_bot_na +me$/){ #put any other routines you want to run on the request -> like logs, e +tc here or just... ... your original script's body here }