templates/config/obj.conf

Sun, 15 Sep 2024 09:47:36 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 15 Sep 2024 09:47:36 +0200
changeset 558
0e79e17c70e2
parent 456
52a4e1ea043e
permissions
-rw-r--r--

improve sessionhandler trace logging

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