Fix htaccess rules for mod_security.

Closes gh-173