LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   4MLinux (https://www.linuxquestions.org/questions/4mlinux-115/)
-   -   mod_cloudflare support in Apache (https://www.linuxquestions.org/questions/4mlinux-115/mod_cloudflare-support-in-apache-4175636750/)

zk1234 08-20-2018 03:07 PM

mod_cloudflare support in Apache
 
Hi,

The 4MLinux website uses Cloudflare, which is now very popular. Their services (DNS+catching) are very good, but there is one inconvenience: your server may be unable to log visitors' real IPs. The solution of the problem can be found here:
https://github.com/cloudflare/mod_cloudflare
The 4MLinux Server 26 (and later) comes with mod_cloudflare available out of the box. However, you must enable it in Apache configuration file.

.

bathory 08-21-2018 02:47 AM

Quote:

Originally Posted by zk1234 (Post 5893759)
Hi,

The 4MLinux website uses Cloudflare, which is now very popular. Their services (DNS+catching) are very good, but there is one inconvenience: your server may be unable to log visitors' real IPs. The solution of the problem can be found here:
https://github.com/cloudflare/mod_cloudflare
The 4MLinux Server 26 (and later) comes with mod_cloudflare available out of the box. However, you must enable it in Apache configuration file.

.

I don't know much about 4MLinux, but for apache in general:
Make sure that the module is loaded, i.e. make sure that the "LoadModule ..." line used to load mod_clouflare.so is not commented out.
To verify that the module is loaded you can run:
Code:

httpd -M|grep cloud
Regards


All times are GMT -5. The time now is 01:04 PM.