| Caution! This message was sent from outside the University of Manitoba. |
_______________________________________________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 nameHello 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