Hi I am trying to create a rewrite rule so that if a user puts in a certain URI into their browser it gets redirected to a 400 error page on the server and also gives a 400 error in the log, I have tried the following but have had no luck. Any help would be very much appreciated: RewriteCond %{QUERY_STRING} ?uri=nmid: RewriteRule /error/400.html [L=400]