1
0
Fork 0
fgdata/httpd-settings.xml

65 lines
2 KiB
XML
Raw Normal View History

2014-03-06 12:17:04 +00:00
<?xml version="1.0"?>
<!--
Settings for the internal web server
-->
<PropertyList>
<uri-handler>
<screenshot>/screenshot</screenshot>
2014-03-06 12:17:04 +00:00
<property>/props/</property>
<json>/json/</json>
2015-02-17 11:10:35 +00:00
<pkg>/pkg/</pkg>
2015-02-23 15:38:53 +00:00
<flighthistory>/flighthistory/</flighthistory>
2014-03-06 12:17:04 +00:00
<run>/run.cgi</run>
<navdb>/navdb</navdb>
2014-03-06 12:17:04 +00:00
</uri-handler>
<options>
<!-- for a complete description of options, see
http://cesanta.com/docs.shtml?Options.md -->
<!-- gets overwritten by - -httpd=nnnn -->
<!-- listening-port>8080</listening-port -->
<!-- set your access log file here, defaults to SG_LOG(SG_NETWORK,SG_INFO) -->
<!-- (not yet implemented) -->
<!-- access-log-file>/tmp/access.log</access-log-file -->
<!-- set your error log file here, defaults to SG_LOG(SG_NETWORK,SG_WARN) -->
<!-- (not yet implemented) -->
<!-- error-log-file>/tmp/error.log</error-log-file -->
<!-- (not yet implemented) -->
<!-- auth-domain>flightgear.org</auth-domain -->
<!-- (not yet implemented) -->
<!-- cgi-interpreter>/path/to/cgi/interpreter/executable</cgi-interpreter -->
<!-- set the doucment root directory here, defaults to fg-root, paths relative to fg-root -->
<document-root>Docs</document-root>
<enable-directory-listing>yes</enable-directory-listing>
<!-- (not yet implemented) -->
2014-09-19 23:49:44 +00:00
<extra-mime-types>.appcache=text/cache-manifest</extra-mime-types>
2014-03-06 12:17:04 +00:00
<!-- (not yet implemented) -->
<!--global-auth-file>/path/to/global/auth/file</global-auth-file-->
<!-- (not yet implemented) -->
<!--hide-file-patterns>secret.txt|even_more_secret.txt</hide-file-patterns-->
<idle-timeout-ms>30000</idle-timeout-ms>
<index-files>index.html</index-files>
<!-- (not yet implemented) -->
<!-- ssl-certificate>/path/to/certificate.pem</ssl-certificate-->
<!-- run-as-user>THIS IS NOT SUPPORTED IN FLIGHTGEAR <run-as-user -->
<!-- all paths are relative to fg-root -->
<!-- (not yet implemented) -->
<url-rewrites>/gui/=webgui/,/fonts/=Fonts/</url-rewrites>
2014-03-06 12:17:04 +00:00
</options>
</PropertyList>