Thanks Andrew for you response. I have updated the file and enclosed the rewrite rule in the appropriate .htaccess IfModule mod_rewrite.c wrapper. Now FreePBX is complaining because the signature dosen’t match, hence the tampered file error message.
Have I missed something that will re generate the signature for the file.