LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux
User Name
Password
4MLinux This forum is for the discussion of 4MLinux.

Notices


Reply
  Search this Thread
Old 08-20-2018, 03:07 PM   #1
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 856

Rep: Reputation: 162Reputation: 162
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.

.
 
Old 08-21-2018, 02:47 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,257

Rep: Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689
Quote:
Originally Posted by zk1234 View Post
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
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mod_cloudflare install errors Deemo Linux - Server 3 07-25-2013 04:16 AM
Apache support Zycus Linux - Software 3 12-08-2011 05:08 AM
apache to support php dody1313 Solaris / OpenSolaris 31 03-28-2008 10:41 AM
does apache support java mahmoud Linux - Newbie 2 12-03-2007 02:59 PM
Php support with apache c00l Linux - Software 4 03-02-2005 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration