templates/config/obj.conf

Sat, 12 Nov 2022 17:28:32 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 12 Nov 2022 17:28:32 +0100
changeset 428
ab58e46b50a5
parent 118
38bf6dd8f4e7
child 456
52a4e1ea043e
permissions
-rw-r--r--

improve error handling in send_file if the file is a directory

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
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
7 <Object name="default">
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
8 NameTrans fn="assign-name" from="/hello" name="hello"
95
74a81d9e19d0 added error directive for custom error pages
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 93
diff changeset
9 NameTrans fn="assign-name" from="/admin" name="admin"
116
d7a186cf87f6 adds find-pathinfo saf
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 95
diff changeset
10 PathCheck fn="find-pathinfo"
39
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
11 ObjectType fn="type-by-extension"
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
12 Service fn="send-options" method="OPTIONS"
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
13 Service fn="common-index" type="internal/directory"
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
14 Service fn="send-file"
45
a24aa388f02f added access log
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 39
diff changeset
15 AddLog fn="common-log"
39
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
16 </Object>
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
17
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
18 <Object name="hello">
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
19 Service fn="service-hello"
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
20 </Object>
de4bc3cd2d36 added mime type configuration file
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
21
93
95b77e842db3 fixed solaris build
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
22 <Object name="admin">
95b77e842db3 fixed solaris build
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
23 Service fn="admin-service"
95b77e842db3 fixed solaris build
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 45
diff changeset
24 </Object>
118
38bf6dd8f4e7 adds minimal cgi implementation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 116
diff changeset
25
38bf6dd8f4e7 adds minimal cgi implementation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 116
diff changeset
26 <Object name="cgi-bin">
38bf6dd8f4e7 adds minimal cgi implementation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 116
diff changeset
27 Service fn="send-cgi"
38bf6dd8f4e7 adds minimal cgi implementation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 116
diff changeset
28 </Object>

mercurial