templates/config/obj.conf

Fri, 23 Oct 2015 17:28:09 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 23 Oct 2015 17:28:09 +0200
changeset 104
a8acbb12f27c
parent 95
74a81d9e19d0
child 116
d7a186cf87f6
permissions
-rw-r--r--

implemented range requests

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