akhilaniyan
Active member
Hi,
I can see many issues like unable to upload avatars, unable to update the style etc after activating the CloudFlare. When I deactivate CF no issues!
So, I'm planning to disable CF for the admin area.
Is this is the correct way to exclude admin are?
Since I activated CF, I added this code to config.php to avoid IP related conflicts.
Please verify.
And is there any other steps to do prevent conflicts with CF?
Thanks.
I can see many issues like unable to upload avatars, unable to update the style etc after activating the CloudFlare. When I deactivate CF no issues!
So, I'm planning to disable CF for the admin area.
Is this is the correct way to exclude admin are?
Code:
mydomain.com/admin.php*
Since I activated CF, I added this code to config.php to avoid IP related conflicts.
Code:
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }
Please verify.
And is there any other steps to do prevent conflicts with CF?
Thanks.