I have added this to my htaccess, but I am getting this error:
[Sat Sep 19 06:34:08 2015] [alert] [client 217.73.208.152] /home/teambuic/public_html/.htaccess: Invalid command 'User-agent:', perhaps misspelled or defined by a module not included in the server configuration

I don't think it is related to spelling.