Forum Moderators: phranque
The whole file can be seen here:
[zipsbazaar.co.uk...]
or, in my case, here:
[zipsbazaar.co.uk...]
--which says, accompanied by insulting graphic, "This Site No Longer Supports Your Current Browser". This strikes me as a load of ### since I'll bet they never did "support" my browser. Since when does a plain .txt file require browser support? It opened fine in Safari, and would have opened fine in Camino if I'd felt like jumping through hoops to spoof some other browser.*
But y'know what? That just reinforces the impression I got from the sample line of code, which to me suggests someone who isn't as smart as he thinks he is. Consider only...
.
(get it?)
.
(hint)
.
(and so on)
* Just a couple of days ago I saw a brand-new (2011) site that contained the line
To view this website in its proper format using Internet Explorer, please use IE 7 and higher.
If only I could figure out the syntax maybe I could... Oh, never mind.
[edited by: iamzippy at 10:48 pm (utc) on Mar 8, 2012]
RewriteEngine On
RewriteCond %{QUERY_STRING} concat[^\(]*\( [NC,OR]
RewriteCond %{QUERY_STRING} union([^s]*s)+elect [NC,OR]
RewriteCond %{QUERY_STRING} union([^a]*a)+ll([^s]*s)+elect [NC]
RewriteRule .* - [F]
RewriteEngine On
RewriteCond %{QUERY_STRING} concat[^\(]*\( [NC,OR]
RewriteCond %{QUERY_STRING} union(?:[^s]*s)+elect [NC,OR]
RewriteCond %{QUERY_STRING} union(?:[^a]*a)+ll([^s]*s)+elect [NC]
RewriteRule .* - [F]
The usage of \b will not work with Apache 1.x servers.
[A-Za-z0-9_]
[a-z0-9_] with [NC] flag will parse 33% faster.