templates/config/obj.conf

Sun, 03 Nov 2013 16:41:42 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 03 Nov 2013 16:41:42 +0100
changeset 95
74a81d9e19d0
parent 93
95b77e842db3
child 116
d7a186cf87f6
permissions
-rw-r--r--

added error directive for custom error pages

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