apache deny directory access

Apache web server allows server access based upon various conditions. For example you just want to restrict access to url http://payroll.nixcraft.in/ (mapped to /var/www/sub/payroll directory) from 192.168.1.0/24 network (within intranet). Apache provides access control based on client hostname, IP address, or other characteristics of the client request using mod_access module. Open your httpd.conf file: # […]

{ 8 comments }