Skip to main content

Error installing mod_cloudflare

Comments

4 comments

  • vacancy
    Please try.
    yum -y install ea-apache24-mod_remoteip
    Apache configuration > include editor > Pre Main Include Add and save the codes below.
    RemoteIPHeader X-Forwarded-For LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent LogFormat "%a %l %u %t \"%r\" %>s %b" common LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined CustomLog logs/access_log combined
    mod_remoteip and mod_cloudflare do the same thing.
    0
  • YanoLoL
    Please try.
    yum -y install ea-apache24-mod_remoteip
    Apache configuration > include editor > Pre Main Include Add and save the codes below.
    RemoteIPHeader X-Forwarded-For LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent LogFormat "%a %l %u %t \"%r\" %>s %b" common LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined CustomLog logs/access_log combined
    mod_remoteip and mod_cloudflare do the same thing.

    I try this and didn't work.
    0
  • JacobPerkins
    Hi, I'd reach out to CloudFlare to see if they can assist you with getting this module installed. It should work, but perhaps they had an issue in their installation script.
    0
  • YanoLoL
    Is solved! I use this article: How do I restore original visitor IP with Apache 2.4? But i need change httpd-devel to ea-apache24-devel
    0

Please sign in to leave a comment.