> > > RewriteCond %{QUERY_STRING} ^action=cs_query$ > RewriteRule ^/cgi-bin/blt?action=cs_query$ - [G] > > Very close with this one ... Try:
RewriteCond %{QUERY_STRING} ^action=cs_query$ RewriteRule ^/cgi-bin/blt$ - [G] As I said before, you can't include the query string in RewriteRule statement.