ovidiu – I think you add the directory after the “^” character. ie:

RewriteRule ^wordpress/wp-comments-post.php …

But if the .htaccess file is in the wordpress/ directory that may not be necessary. Anyone else know?

Keishon – you’re doing something different. That’s what stops the spammers!

KL & BlakkJakk – When I copied Padraig’s rules it didn’t have the Accept-encoding line but the rules work well and haven’t had a disastrous affect on my traffic stats.