templates/config/obj.conf

Sat, 31 Oct 2015 20:10:21 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 31 Oct 2015 20:10:21 +0100
changeset 109
8a0a7754f123
parent 95
74a81d9e19d0
child 116
d7a186cf87f6
permissions
-rw-r--r--

experimental BSD support

#
# obj.conf
#
# NSAPI configuration
#

<Object name="default">
NameTrans fn="assign-name" from="/hello" name="hello"
NameTrans fn="assign-name" from="/admin" name="admin"
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="hello">
Service fn="service-hello"
</Object>

<Object name="admin">
Service fn="admin-service"
</Object>

mercurial