707 update from Marc Kraus
[fg:toms-fgdata.git] / httpd-settings.xml
1 <?xml version="1.0"?>
2 <!--
3   Settings for the internal web server
4 -->
5 <PropertyList>
6         <uri-handler>
7                 <!--screenshot>/screenshot/</screenshot-->
8                 <property>/props/</property>
9                 <json>/json/</json>
10                 <run>/run.cgi</run>
11         </uri-handler>
12         <options>
13                 <!-- for a complete description of options, see
14              http://cesanta.com/docs.shtml?Options.md -->
15
16                 <!-- gets overwritten by - -httpd=nnnn -->
17                 <!-- listening-port>8080</listening-port -->
18
19                 <!-- set your access log file here, defaults to SG_LOG(SG_NETWORK,SG_INFO) -->
20                 <!-- (not yet implemented) -->
21                 <!-- access-log-file>/tmp/access.log</access-log-file -->
22
23                 <!-- set your error log file here, defaults to SG_LOG(SG_NETWORK,SG_WARN) -->
24                 <!-- (not yet implemented) -->
25                 <!-- error-log-file>/tmp/error.log</error-log-file -->
26
27                 <!-- (not yet implemented) -->
28                 <!-- auth-domain>flightgear.org</auth-domain -->
29
30                 <!-- (not yet implemented) -->
31                 <!-- cgi-interpreter>/path/to/cgi/interpreter/executable</cgi-interpreter -->
32
33                 <!-- set the doucment root directory here, defaults to fg-root, paths relative to fg-root -->
34                 <document-root>Docs</document-root>
35
36                 <enable-directory-listing>yes</enable-directory-listing>
37
38                 <!-- (not yet implemented) -->
39                 <!-- extra-mime-types>.cpp=plain/text,.java=plain/text</extra-mime-types -->
40
41
42                 <!-- (not yet implemented) -->
43                 <!--global-auth-file>/path/to/global/auth/file</global-auth-file-->
44
45                 <!-- (not yet implemented) -->
46                 <!--hide-file-patterns>secret.txt|even_more_secret.txt</hide-file-patterns-->
47
48                 <idle-timeout-ms>30000</idle-timeout-ms>
49
50                 <index-files>index.html</index-files>
51
52                 <!-- (not yet implemented) -->
53                 <!-- ssl-certificate>/path/to/certificate.pem</ssl-certificate-->
54
55                 <!-- run-as-user>THIS IS NOT SUPPORTED IN FLIGHTGEAR <run-as-user -->
56
57                 <!-- all paths are relative to fg-root -->
58                 <!-- (not yet implemented) -->
59                 <!--url-rewrites>static=html/static</url-rewrites-->
60         </options>
61 </PropertyList>