Support » Plugin: Really Simple CAPTCHA » Contact Form 7 Really Simple Captcha on IIS servers

  • Hi guys,

    Some users, like me, are hosted on IIS servers and our hosters can be very strict about using a htaccess file. Contact Form 7 in combination with really simple captcha won’t work for (some of) us because it’ll generate a htaccess file in /wp-content/uploads/wpcf7_captcha/ which will be detected and blocks the use of that folder.

    So, if anyone runs in to the problem of captcha images not showing while on IIS servers, the generated htaccess file could be the problem.

    @takayuki Miyoshi
    Thanks for the great plugin. I know generating the htaccess files is done to guarantee some safety but for some users on IIS it just won’t work. Could you include an option in wpcf7 or maybe a warning for users on IIS? (If you want to do some testing, I’ll set up a clean WordPress install and give you access to it)


Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takayuki Miyoshi


    Simply removing the .htaccess file can’t be a solution. To fix the issue, I need to know how you can guarantee both security and availability on IIS. If you have info, please let me know.

    Well, removing the htaccess and delete/rewrite some of your code to get it to work was a solution for me and might be a solution for others.

    I’d suggest to show a warning (best imho would be an option) to users on IIS with something about problems they could run into with the autogenerated htaccess while using Really Simple Captcha.

    You could use something like:

    $needle = 'Microsoft-IIS';
    $haystack = $_SERVER['SERVER_SOFTWARE'];
      if (strpos($haystack, $needle) !== false) {
      //On IIS
      } else {
      //Not on IIS

    I’m using in my blog
    But Its shows me some error like this.

    To use CAPTCHA, you need Really Simple CAPTCHA plugin installed.

    Even after adding the CF and CAPTCHA plugins.

    Hi Takayuki Miyoshi,

    Really-Simple-Captcha does not work on IIS, What is the solution?.

    I used gravity form with Really-Simple-Captcha, When I select the Really-Simple-Captcha on captcha field it occurs error “500 – Internal server error”.

    Please let me know the solution.


    I removed the .htaccess and commented the code that creates it.
    But the captcha is still not on the page.

    Anyone able to make the Captchas work on Contact Form 7 + Really Simple Captcha + IIS servers ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Contact Form 7 Really Simple Captcha on IIS servers’ is closed to new replies.