UNIXworkcode

1 # 2 # obj.conf 3 # 4 # NSAPI configuration 5 # 6 7 Object name="default" { 8 NameTrans fn="assign-name" from="/hello" name="hello" 9 NameTrans fn="assign-name" from="/admin" name="admin" 10 PathCheck fn="find-pathinfo" 11 ObjectType fn="type-by-extension" 12 Service fn="send-options" method="OPTIONS" 13 Service fn="common-index" type="internal/directory" 14 Service fn="send-file" 15 AddLog fn="common-log" 16 } 17 18 Object name="hello" { 19 Service fn="service-hello" 20 } 21 22 Object name="admin" { 23 Service fn="admin-service" 24 } 25 26 Object name="cgi-bin" { 27 Service fn="send-cgi" 28 } 29 30