templates/config/obj.conf

Sat, 30 Mar 2024 12:35:09 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 30 Mar 2024 12:35:09 +0100
changeset 513
9a49c245a49c
parent 456
52a4e1ea043e
permissions
-rw-r--r--

change net_write to attempt to write all bytes, improve error handling

#
# obj.conf
#
# 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 name="hello" {
	Service fn="service-hello"
}

Object name="admin" {
	Service fn="admin-service"
}

Object name="cgi-bin" {
	Service fn="send-cgi"
}

mercurial