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