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

39
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 #
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
2 # obj.conf
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
3 #
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
4 # NSAPI configuration
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
5 #
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
6
456
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
7 Object name="default" {
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
8 NameTrans fn="assign-name" from="/hello" name="hello"
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
9 NameTrans fn="assign-name" from="/admin" name="admin"
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
10 PathCheck fn="find-pathinfo"
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
11 ObjectType fn="type-by-extension"
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
12 Service fn="send-options" method="OPTIONS"
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
13 Service fn="common-index" type="internal/directory"
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
14 Service fn="send-file"
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
15 AddLog fn="common-log"
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
16 }
39
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
17
456
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
18 Object name="hello" {
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
19 Service fn="service-hello"
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
20 }
39
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
21
456
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
22 Object name="admin" {
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
23 Service fn="admin-service"
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
24 }
118
38bf6dd8f4e7 adds minimal cgi implementation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 116
diff changeset
25
456
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
26 Object name="cgi-bin" {
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
27 Service fn="send-cgi"
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
28 }
52a4e1ea043e update obj.conf install template to new syntax
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 118
diff changeset
29

mercurial