This was intended to be a comment on a similar question but since Stack is so restrictive about comments I'm reposting it as they want it:
: Here's the documentation: http://httpd.apache.org/docs/2.4/en/mod/mod_authz_core.html#require)
Here's the config file:
Options Indexes FollowSymLinks AllowOverride None Require ip $CIDR ~
The error still is: May 24 20:54:54 ip-172-16-5-34.us-west-1.compute.internal httpd: AH00526: Syntax error on line 3 of /etc/httpd/conf.d/httpd.conf: May 24 20:54:54 ip-172-16-5-34.us-west-1.compute.internal httpd: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
What am I missing?
It looks like the RequireAny or RequireAll commands may help but they don't.
For your reference the information provided here did not suffice: How do I require an IP range instead of 1 IP?