Tag Archives: rewrite rules

Just in case

If you’re seeing a lot requests like these in your logs

http://whocares.de/category/misc//war.php?
    vwar_root=http://smolen.org/test.txt??

this might come in handy:

# Send unwanted query strings elsewhere
RewriteCond   %{QUERY_STRING} http:\/\/.*\?\?
RewriteRule   ^.*$   http://www.turnofftheinternet.com/?     [L]

Add, adapt and change to your needs ;)