apxs cannot install mod_cloudflare on centos
Posted
by
Adam
on Server Fault
See other posts from Server Fault
or by Adam
Published on 2012-10-19T17:02:26Z
Indexed on
2012/10/19
17:03 UTC
Read the original article
Hit count: 299
[ Linux - CentOS - Apache 2.2 - mod_cloudflare - apxs2 ]
I have changed my nameservers to point to CloudFlare. The problem is that all the IP addresses are coming in as CloudFlare's. This is no good, because I have to monitor and block some specific traffic. mod_cloudflare is supposed to resolve this but I have been unable to get this installed. The command in the documentation uses apxs2. I can't figure out how to install this, or if it just means for 'apache 2.4'. I'm running 2.2.3, and I can use 'apxs'.
When I run:
apxs -aic mod_cloudflare.c
I get the error
apxs:Error: Command failed with rc=65536
Does this mean I need apxs2 or something else? How do I get mod_cloudflare working on my server?
I appreciate any help, the documentation is vague and limited.
© Server Fault or respective owner