So you received an error 406 while trying to upload a file and you have no idea to fix it!

Create a “.htaccess” file in the root of your local website and add the following into it:

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>