1
0
Fork 0
fgdata/httpd-settings.xml
Torsten Dreyer e46764624d Move the web gui to its own folder
serve FGDATA/webgui as url /gui/ and move the files
out of FGDATA/Docs (which was a bad place for those).
2014-03-14 21:15:51 +01:00

61 lines
1.9 KiB
XML

<?xml version="1.0"?>
<!--
Settings for the internal web server
-->
<PropertyList>
<uri-handler>
<!--screenshot>/screenshot/</screenshot-->
<property>/props/</property>
<json>/json/</json>
<run>/run.cgi</run>
</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) -->
<!-- extra-mime-types>.cpp=plain/text,.java=plain/text</extra-mime-types -->
<!-- (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/</url-rewrites>
</options>
</PropertyList>