Configuration Tutorial as follows:
1 acl is_https_com hdr_beg (Host) www.baidu.com # define rules domain 2 acl api_block_url_web url_dir -i / Web / # defined prevent directory 3 acl api_block_url_app url_dir -i / App / # defined prevent directory 4 Block IF api_block_url_web is_https_com # If only single subdirectory restrict access using this configuration 5 Block IF api_block_url_web is_https_com || api_block_url_app is_https_com # If multiple folders appear subdirectory limit, you need to use "or" expression "||" to make a judgment 6 7 8 Block IF api_block_url_web! is_https_com # In addition to all of the rules is_https_com domain rules prevent access to web directory