Fri, 24 Feb 2023 09:19:19 +0100
update obj.conf install template to new syntax
templates/config/obj.conf | file | annotate | diff | comparison | revisions |
--- 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 # -<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" -</Object> +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" +} -<Object name="hello"> -Service fn="service-hello" -</Object> +Object name="hello" { + Service fn="service-hello" +} -<Object name="admin"> -Service fn="admin-service" -</Object> +Object name="admin" { + Service fn="admin-service" +} -<Object name="cgi-bin"> -Service fn="send-cgi" -</Object> +Object name="cgi-bin" { + Service fn="send-cgi" +} +