I am using timthumbs in my wordpress site. But I included all the changes which I found when I search for this problem.
I have enabled the "ALLOW_EXTERNAL" and "ALLOW_ALL_EXTERNAL_SITES" .
I have recreated my .htaccess file .
I Have also included the following code in my .htaccess file.
But it is not working in my domain. But it is working in other domain.
Image URL which I tried to access is
URL : <a href="http://webhugh.org/viyugam/timthumb...c.flickr.com/2340/2089504883_863fb11b0a_z.jpg" rel="nofollow">http://webhugh.org/viyugam/timthumb...c.flickr.com/2340/2089504883_863fb11b0a_z.jpg</a>
I am getting <strong>403 forbidden</strong>, I gave 0755 permission to cache folder as well.
I have enabled the "ALLOW_EXTERNAL" and "ALLOW_ALL_EXTERNAL_SITES" .
Code:
//Image fetching and caching
if(! defined('ALLOW_EXTERNAL') )
define ('ALLOW_EXTERNAL', TRUE);
// Allow image fetching from external websites. Will check against ALLOWED_SITES if ALLOW_ALL_EXTERNAL_SITES is false
if(! defined('ALLOW_ALL_EXTERNAL_SITES') )
define ('ALLOW_ALL_EXTERNAL_SITES', true);
I have recreated my .htaccess file .
I Have also included the following code in my .htaccess file.
Code:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
But it is not working in my domain. But it is working in other domain.
Image URL which I tried to access is
URL : <a href="http://webhugh.org/viyugam/timthumb...c.flickr.com/2340/2089504883_863fb11b0a_z.jpg" rel="nofollow">http://webhugh.org/viyugam/timthumb...c.flickr.com/2340/2089504883_863fb11b0a_z.jpg</a>
I am getting <strong>403 forbidden</strong>, I gave 0755 permission to cache folder as well.