Caution! This message was sent from outside the University of Manitoba.

Urlencode or octal?  Or if it's a regex just use ".".
-Adam

Get Outlook for Android

From: Montana Quiring <montanaq@gmail.com>
Sent: Tuesday, April 22, 2025 1:47:31 PM
To: Continuation of Round Table discussion <roundtable@muug.ca>
Subject: [RndTbl] .htaccess file: stopping robot with escape character in name
 
Hello Folks,

I'm trying to stop a bot from crawling a site using the .htaccess file. The problem is that it's using the backslash character as its name. Grrr...
It's called: Unknown robot identified by bot\*
This generates an internal server error:
RewriteCond %{HTTP_USER_AGENT} ("Unknown robot identified by bot\*") [NC]
I tried, this, but it didn't help:
RewriteCond %{HTTP_USER_AGENT} ("Unknown robot identified by bot\\*") [NC]

Any thoughts?

Regards,
-Montana