Archive for October, 2013

.htaccess redirect to

October 28th, 2013 No comments

In the. htaccess file place the following two lines:

rewritecond %{http_host} ^ [nc]
rewriterule ^(.*)$$1 [r=301,nc]

Instead “” set your domain

Categories: Web Tags: ,

CodeIgniter: Your recaptcha.php file does not appear to contain a valid configuration array

October 28th, 2013 No comments

For those who have run into this problem as I do, check the settings for PHP marker (<? and <?=).
If not activated, you will see this error because they are placed in reCAPTCHA scripts.

Modify “<?” into “<?php” and “<?=” into “<?php echo” and everything will be fine.
The other option is to allow shorter markers.

Categories: PHP Tags: ,