Yesterday, I've had some task to make restriction to some web apps.
It's use Apache2 as web service. Unfortunately, I bit confused about the restriction setup because I often used NGINX as web service.
Then, I knew that some syntax configuration are different even just between minor version.
# Apache 2.2 order deny,allow allow from 126.96.36.199 allow from 188.8.131.52 deny from all # Apache 2.4 Require ip 184.108.40.206 Require ip 220.127.116.11
Don't forget about the required Apache modules. I will wrote about this later.
order syntax are different between
allow,deny . smh.