Skip to content

Instantly share code, notes, and snippets.

@deplorableword
Created January 28, 2011 15:56
Show Gist options
  • Save deplorableword/800436 to your computer and use it in GitHub Desktop.
Save deplorableword/800436 to your computer and use it in GitHub Desktop.
Allow wordpress uploads though HTTP basic authentication
# Exclude the file upload and WP CRON scripts from authentication
<FilesMatch "(async-upload\.php|wp-cron\.php|xmlrpc\.php)$">
Satisfy Any
Order allow,deny
Allow from all
Deny from none
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment