# HG changeset patch # User Olaf Wintermann # Date 1677226759 -3600 # Node ID 52a4e1ea043e04d34e6c185d7c6740a4f9355983 # Parent e52a9fc670d2be1f2ee3fb98b2f7c769de6608db update obj.conf install template to new syntax diff -r e52a9fc670d2 -r 52a4e1ea043e templates/config/obj.conf --- a/templates/config/obj.conf Fri Feb 24 09:18:47 2023 +0100 +++ b/templates/config/obj.conf Fri Feb 24 09:19:19 2023 +0100 @@ -4,25 +4,26 @@ # NSAPI configuration # - -NameTrans fn="assign-name" from="/hello" name="hello" -NameTrans fn="assign-name" from="/admin" name="admin" -PathCheck fn="find-pathinfo" -ObjectType fn="type-by-extension" -Service fn="send-options" method="OPTIONS" -Service fn="common-index" type="internal/directory" -Service fn="send-file" -AddLog fn="common-log" - +Object name="default" { + NameTrans fn="assign-name" from="/hello" name="hello" + NameTrans fn="assign-name" from="/admin" name="admin" + PathCheck fn="find-pathinfo" + ObjectType fn="type-by-extension" + Service fn="send-options" method="OPTIONS" + Service fn="common-index" type="internal/directory" + Service fn="send-file" + AddLog fn="common-log" +} - -Service fn="service-hello" - +Object name="hello" { + Service fn="service-hello" +} - -Service fn="admin-service" - +Object name="admin" { + Service fn="admin-service" +} - -Service fn="send-cgi" - +Object name="cgi-bin" { + Service fn="send-cgi" +} +