I've just shifted the contents of a site's wp-content/uploads/ directory to an Amazon S3 bucket.
I've changed the Media Settings so that the "Store uploads in this folder" field is empty, and I've set the "Full URL path to files" as: http://assets.example.com
I was not surprised that the captcha stopped working.
It was working previously, so the server is good to go.
I made a new directory one level up at: /wp-content/wpcf7_captcha
Permissions are 777; I can see an index file in my browser, so the directory exists.
I added the following line to wp-config.php:
define( 'WPCF7_CAPTCHA_TMP_DIR', '/wp-content/wpcf7_captcha' );
But if there is a captcha in the form, I get the error:
This contact form contains CAPTCHA fields, but the temporary folder for the files (/wp-content/wpcf7_captcha) does not exist or is not writable. You can create the folder or change its permission manually.
I've tried reinstalling both Really Simple Captcha and Contact Form 7, but it still will not work.
I've even tried flushing the permalinks.
I'm out of ideas. Any assistance will be greatly appreciated.