templates/config/obj.conf

Tue, 13 Aug 2024 19:59:42 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 13 Aug 2024 19:59:42 +0200
changeset 545
720893ec7d48
parent 456
52a4e1ea043e
permissions
-rw-r--r--

new linux event_send implementation, replace event pipes with eventfd

#
# 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