Suggestion to fix an article: "How do I restore original visitor IP with Apache 2.4" by Jamerson S

I cant find a place to suggest a fix in a support article, so I’m sending here…

In article:

https://support.cloudflare.com/hc/en-us/articles/203656534-How-do-I-restore-original-visitor-IP-with-Apache-2-4-

In Fedora 29, gives an error:

gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
apxs:Error: Command failed with rc=65536

Because need the package “redhat-rpm-config”. So need to replace the line:

sudo yum install httpd-devel libtool git

with

sudo yum install httpd-devel libtool git redhat-rpm-config

Hope this helps.

1 Like

With Apache 2.4 it generally is better to use mod_remoteip anyhow.

This topic was automatically closed after 14 days. New replies are no longer allowed.