If you have named ACLs or separate ACL files, you can reference them in the OBJ.CONF file. You do this in the PathCheck directive using the check-acl function. The line has the following syntax:
PathCheck fn="check-acl" acl="acl_name"
The acl_name is a unique name of an ACL as it appears in any ACL file.
For example, you might add the following lines to your OBJ.CONF file if you want to restrict access to a directory using the ACL named testacl:
<Object ppath="/usr/ns-home/docs/test/*">
PathCheck fn="check-acl" acl="testacl"
</Object>
In this example, the first line is the object that states which server resource you want to restrict access to. The second line is the PathCheck directive that uses the check-acl function to bind the named ACL (testacl) to the object that the directive appears in. The testacl ACL can appear in any ACL file referenced in MAGNUS.CONF.