Monday, December 20, 2010

Apache control access by subnet

/etc/httpd/conf/webapps.d/bibadmin.conf is

#we give access to CHUQ subnets only...


    Order deny,allow
    Deny from all
    Allow from 127.0.0.1 10.28.0.0/255.255.0.0
    ErrorDocument 403 "Access denied"

No comments: