Forum Moderators: phranque

Message Too Old, No Replies

How to block this USER_AGENT?

         

guillermo5000

6:07 am on Jun 20, 2003 (gmt 0)

10+ Year Member



Hello,

I am trying to block the USER_AGENT below. I'm not sure which characters to escape. I am using MOD_REWRITE to send them else ware, and yes, I realize I may block many people. Thanks.

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; AT&T CSM7.0)

jdMorgan

6:20 am on Jun 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



guillermo5000,

You'll need to escape the periods, spaces, parentheses, and semicolons, and maybe the ampersand as well.

Jim

guillermo5000

6:38 am on Jun 20, 2003 (gmt 0)

10+ Year Member



That works! Thank you.