Sometimes you may need to restrict access to URL, file or directory. Here is how to deny access to URL, Files & Directory in Apache.
deny access
Apache Restrict Access by IP
Sometimes you may need to deny access or limit access by IP in Apache web server. Here is how to restrict access by IP in Apache