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

Sorry man, excuse my ignorance, but not sure what you are asking.
I got the bot name from AWstats, which I assume is just ASCII.

Regards,
-Montana


On Tue, Apr 22, 2025 at 1:58 PM Adam Thompson <athompso@athompso.net> wrote:
Urlencode or octal?  Or if it's a regex just use ".".
-Adam


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
_______________________________________________
Roundtable mailing list -- roundtable@muug.ca
To unsubscribe send an email to roundtable-leave@muug.ca