I tried the following thing without success.
RewriteEngine on
RewriteRule ^/cgi-bin/blt?action=cs_query$ - [G]
mod_rewrite matches the URi not the the query string. Read about
RewriteCond here:
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond
I tried
RewriteCond %{REQUEST_URI} ^(cgi-bin/blt?action=cs_query)$
RewriteRule ^1$ - [G]
or
RewriteCond %{QUERY_STRING} ^action=cs_query$
RewriteRule ^/cgi-bin/blt?action=cs_query$ - [G]
without more success.
I don't see what's wrong now.
--
Sébastien Moretti
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org