1
0
Fork 0

Prepare the ground for the new httpd

This commit is contained in:
Torsten Dreyer 2014-03-06 13:17:04 +01:00
parent 41965a8631
commit 9844056ab7
3 changed files with 127 additions and 0 deletions

65
Docs/css/props.css Normal file
View file

@ -0,0 +1,65 @@
a {
color: #000000;
font-weight: bold;
text-decoration: none;
}
th {
border-bottom: 1px solid #000000;
text-align: left;
}
td {
padding-right: 1em;
}
body {
background-color: #C0C0C0;
}
#breadcrumb {
border-bottom: 5px solid #e0e0e0;
background-color:#303030;
line-height: 20px;
overflow:auto;
color: #e0e0e0;
}
#breadcrumb h3 {
padding-left: 0.3em;
text-align: left;
border-bottom: 1px solid #808080;
}
#breadcrumb ul, li {
list-style-type: none;
padding: 0;
margin: 0;
}
#breadcrumb li {
float: left;
padding-left: 0.3em;
padding-bottom: 0.3em;
}
#breadcrumb li a {
padding:0 0.2em 0 0;
}
#breadcrumb li a:link, #breadcrumb li a:visited {
text-decoration: none;
color:#e0e0e0;
}
#breadcrumb li a:hover, #breadcrumb li a:focus {
text-decoration:underline;
color:#e0e0e0;
}
#breadcrumb li {
color:#e0e0e0;
}

61
httpd-settings.xml Normal file
View file

@ -0,0 +1,61 @@
<?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>static=html/static</url-rewrites-->
</options>
</PropertyList>

View file

@ -857,6 +857,7 @@ Started September 2000 by David Megginson, david@megginson.com
<password type="string" userarchive="y">guest</password> <password type="string" userarchive="y">guest</password>
</register> </register>
</fgcom> </fgcom>
<http include="httpd-settings.xml" />
</sim> </sim>
<!-- mouse mode --> <!-- mouse mode -->
<devices> <devices>