Fixing the http upload problem if you password protect the wp-admin folder via Apache

Best post this as its quite a handy trick. If you ever password protect the wp-admin directory via Apache (which is a good thing to help stop hacking attempts) you will notice it breaks the uploading of any media.

Just add the below rules to your .htaccess file inside the wp-admin directory.

[php]
<Files "*">
Require valid-user
</Files>

<FilesMatch async-upload.php>
Allow from all
Satisfy any
</FilesMatch>

[/php]