mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
v4.0.0.1701
This commit is contained in:
@@ -5,213 +5,7 @@
|
||||
<title>Options/HTTP Server - XOWA</title>
|
||||
<link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
|
||||
<link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
|
||||
<style data-source="xowa" type="text/css">
|
||||
.options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:200px;}
|
||||
.options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
|
||||
.options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
|
||||
.options_textbox {padding: 2px; border: 1px solid black;}
|
||||
.options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
|
||||
.options_textarea {padding: 2px; border: 1px solid black;}
|
||||
.options_select {padding: 2px; border: 1px solid black;}
|
||||
.options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
|
||||
.options_checkbox {padding: 2px; border: 1px solid black;}
|
||||
.options_readonly {background-color:#F9F9F9;}
|
||||
</style>
|
||||
<style data-source="xowa" type="text/css">
|
||||
.optionsButton
|
||||
{
|
||||
width: 100px;
|
||||
height: 40px;
|
||||
font-family: 'Segoe UI';
|
||||
font-size: 12px;
|
||||
margin-left: -5px;
|
||||
cursor: pointer;
|
||||
background-color: lightgray;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.optionsLink
|
||||
{
|
||||
color: black !important;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.optionsButton.active
|
||||
{
|
||||
width: 100px;
|
||||
height: 40px;
|
||||
font-family: 'Segoe UI';
|
||||
font-size: 12px;
|
||||
margin-left: -5px;
|
||||
cursor: pointer;
|
||||
background-color: dimgray;
|
||||
color: white !important;
|
||||
border: solid 1px dimgray;
|
||||
}
|
||||
.optionsButton.active a
|
||||
{
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.tabs
|
||||
{
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.tab-links ul
|
||||
{
|
||||
margin-left: -40px;
|
||||
}
|
||||
.tab-links li
|
||||
{
|
||||
margin: 0px 0px 0px 0px;
|
||||
float: left;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.tab-links a
|
||||
{
|
||||
padding: 9px 15px 9px 15px;
|
||||
border-radius: 3px 3px 0px 0px;
|
||||
background: #f0f0f0;
|
||||
font-family: 'Segoe UI';
|
||||
font-size: 13px;
|
||||
color: black !important;
|
||||
text-decoration: none;
|
||||
border-radius: 3px;
|
||||
border-top: solid 1px gray;
|
||||
border-left: solid 1px gray;
|
||||
border-right: solid 1px gray;
|
||||
}
|
||||
|
||||
.tab-links a:hover
|
||||
{
|
||||
background: #B0B0B0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
li.active a, li.active a:hover
|
||||
{
|
||||
background: #fff;
|
||||
color: #4c4c4c;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tab-content
|
||||
{
|
||||
padding: 15px;
|
||||
border-radius: 3px;
|
||||
background: #fff;
|
||||
border-top: solid 1px gray;
|
||||
margin-top: 5px;
|
||||
min-height: 300px;
|
||||
}
|
||||
</style>
|
||||
<style data-source="xowa" type="text/css">
|
||||
.options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:200px;}
|
||||
.options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
|
||||
.options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
|
||||
.options_textbox {padding: 2px; border: 1px solid black;}
|
||||
.options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
|
||||
.options_textarea {padding: 2px; border: 1px solid black;}
|
||||
.options_select {padding: 2px; border: 1px solid black;}
|
||||
.options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
|
||||
.options_checkbox {padding: 2px; border: 1px solid black;}
|
||||
.options_readonly {background-color:#F9F9F9;}
|
||||
</style>
|
||||
<style data-source="xowa" type="text/css">
|
||||
.optionsButton
|
||||
{
|
||||
width: 100px;
|
||||
height: 40px;
|
||||
font-family: 'Segoe UI';
|
||||
font-size: 12px;
|
||||
margin-left: -5px;
|
||||
cursor: pointer;
|
||||
background-color: lightgray;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.optionsLink
|
||||
{
|
||||
color: black !important;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.optionsButton.active
|
||||
{
|
||||
width: 100px;
|
||||
height: 40px;
|
||||
font-family: 'Segoe UI';
|
||||
font-size: 12px;
|
||||
margin-left: -5px;
|
||||
cursor: pointer;
|
||||
background-color: dimgray;
|
||||
color: white !important;
|
||||
border: solid 1px dimgray;
|
||||
}
|
||||
.optionsButton.active a
|
||||
{
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.tabs
|
||||
{
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.tab-links ul
|
||||
{
|
||||
margin-left: -40px;
|
||||
}
|
||||
.tab-links li
|
||||
{
|
||||
margin: 0px 0px 0px 0px;
|
||||
float: left;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.tab-links a
|
||||
{
|
||||
padding: 9px 15px 9px 15px;
|
||||
border-radius: 3px 3px 0px 0px;
|
||||
background: #f0f0f0;
|
||||
font-family: 'Segoe UI';
|
||||
font-size: 13px;
|
||||
color: black !important;
|
||||
text-decoration: none;
|
||||
border-radius: 3px;
|
||||
border-top: solid 1px gray;
|
||||
border-left: solid 1px gray;
|
||||
border-right: solid 1px gray;
|
||||
}
|
||||
|
||||
.tab-links a:hover
|
||||
{
|
||||
background: #B0B0B0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
li.active a, li.active a:hover
|
||||
{
|
||||
background: #fff;
|
||||
color: #4c4c4c;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tab-content
|
||||
{
|
||||
padding: 15px;
|
||||
border-radius: 3px;
|
||||
background: #fff;
|
||||
border-top: solid 1px gray;
|
||||
margin-top: 5px;
|
||||
min-height: 300px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
|
||||
<div id="mw-page-base" class="noprint"></div>
|
||||
@@ -223,128 +17,168 @@ li.active a, li.active a:hover
|
||||
<div id="contentSub"></div>
|
||||
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
|
||||
|
||||
<div>
|
||||
<table>
|
||||
<tr>
|
||||
<td class='optionsButton'>
|
||||
<a class='optionsLink' href='/wiki/Options/Window'>Apps (basic)</a>
|
||||
</td>
|
||||
<td class='optionsButton'>
|
||||
<a class='optionsLink' href='/wiki/Options/Security'>Apps (advanced)</a>
|
||||
</td>
|
||||
<td class='optionsButton'>
|
||||
<a class='optionsLink' href='/wiki/Options/Import'>Wiki</a>
|
||||
</td>
|
||||
<td class='optionsButton'>
|
||||
<a class='optionsLink' href='/wiki/Options/HTML'>HTML</a>
|
||||
</td>
|
||||
<td class='optionsButton active'>
|
||||
<a class='optionsLink' href='/wiki/Options/Content_apps'>External apps</a>
|
||||
</td>
|
||||
<td class='optionsButton'>
|
||||
<a class='optionsLink' href='/wiki/Options/Search_suggest'>Modules</a>
|
||||
</td>
|
||||
<td class='optionsButton'>
|
||||
<a class='optionsLink' href='/wiki/Options/Math'>Extensions</a>
|
||||
</td>
|
||||
<td class='optionsButton'>
|
||||
<a class='optionsLink' href='/wiki/Options/Dev'>Misc</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<div id='xocfg_body'>
|
||||
<div id='xocfg_err'>
|
||||
</div>
|
||||
<div>
|
||||
<ul class='tab-links' style='margin-left:0px;'>
|
||||
<li class=''>
|
||||
<a href='/wiki/Options/Content_apps'>Content apps</a>
|
||||
</li>
|
||||
<li class=''>
|
||||
<a href='/wiki/Options/Firefox_addon'>Firefox addon</a>
|
||||
</li>
|
||||
<li class='active'>
|
||||
<a href='/wiki/Options/HTTP_server'>HTTP server</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><br>
|
||||
<div class='tab-content'>
|
||||
<div id="toc" class="toc">
|
||||
<div id="toctitle">
|
||||
<h2>
|
||||
Contents
|
||||
</h2>
|
||||
</div>
|
||||
<ul>
|
||||
<li class="toclevel-1 tocsection-1">
|
||||
<a href="#HTTP_Server"><span class="tocnumber">1</span> <span class="toctext">HTTP Server</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-2">
|
||||
<a href="#Notes"><span class="tocnumber">2</span> <span class="toctext">Notes</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div style='float:right; margin-right:10px; margin-top:5px;'>
|
||||
<p>
|
||||
<a href="xowa-cmd:app.user.prefs.save();" accesskey='s'><img src='file:///C:/xowa/bin/any/xowa/file/app.window/save.png' width="16" height="16">Save</a>
|
||||
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.cfg_edit.help__toggle_all()' title='toggle all help'> </span> <select id='xocfg_nav_select' onchange='xo.cfg_edit.select__send(this);' onkeyup='xo.cfg_edit.select__by_keypress(event, this);' accesskey='l'>
|
||||
<option value='xowa.app.security'>
|
||||
App - Security
|
||||
</option>
|
||||
<option value='xowa.app.startup'>
|
||||
App - Startup
|
||||
</option>
|
||||
<option value='xowa.gui.general'>
|
||||
Gui - General
|
||||
</option>
|
||||
<option value='xowa.gui.tabs'>
|
||||
Gui - Tabs
|
||||
</option>
|
||||
<option value='xowa.gui.url_bar'>
|
||||
Gui - Address bar
|
||||
</option>
|
||||
<option value='xowa.gui.menus'>
|
||||
Gui - Menus
|
||||
</option>
|
||||
<option value='xowa.gui.shortcuts'>
|
||||
Gui - Shortcuts
|
||||
</option>
|
||||
<option value='xowa.wiki.hdumps'>
|
||||
Wiki - HTML Databases
|
||||
</option>
|
||||
<option value='xowa.wiki.edit'>
|
||||
Wiki - Editing
|
||||
</option>
|
||||
<option value='xowa.bldr.general'>
|
||||
Import - General
|
||||
</option>
|
||||
<option value='xowa.bldr.db'>
|
||||
Import - Database
|
||||
</option>
|
||||
<option value='xowa.bldr.page_sync'>
|
||||
Import - Page sync
|
||||
</option>
|
||||
<option value='xowa.bldr.dansguardian'>
|
||||
Import - Dansguardian
|
||||
</option>
|
||||
<option value='xowa.html.css'>
|
||||
HTML - CSS
|
||||
</option>
|
||||
<option value='xowa.html.page'>
|
||||
HTML - Page
|
||||
</option>
|
||||
<option value='xowa.html.tidy'>
|
||||
HTML - Tidy
|
||||
</option>
|
||||
<option value='xowa.html.scripting'>
|
||||
HTML - Scripting
|
||||
</option>
|
||||
<option value='xowa.files.general'>
|
||||
Files - General
|
||||
</option>
|
||||
<option value='xowa.files.apps'>
|
||||
Files - Apps
|
||||
</option>
|
||||
<option value='xowa.addon.search'>
|
||||
Addon - Search
|
||||
</option>
|
||||
<option value='xowa.addon.category'>
|
||||
Addon - Category
|
||||
</option>
|
||||
<option value='xowa.addon.http_server' selected='selected'>
|
||||
Addon - HTTP Server
|
||||
</option>
|
||||
<option value='xowa.addon.scribunto'>
|
||||
Addon - Scribunto
|
||||
</option>
|
||||
<option value='xowa.addon.math'>
|
||||
Addon - Math
|
||||
</option>
|
||||
<option value='xowa.addon.score'>
|
||||
Addon - Score
|
||||
</option>
|
||||
<option value='xowa.addon.popups'>
|
||||
Addon - Popups
|
||||
</option>
|
||||
<option value='xowa.addon.wikibase'>
|
||||
Addon - Wikidata
|
||||
</option>
|
||||
<option value='xowa.dev.general'>
|
||||
Dev - General
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
<div id='cfg_grps'>
|
||||
<div>
|
||||
<p id='page_help_para'>
|
||||
</p>
|
||||
</div><br>
|
||||
|
||||
</div>
|
||||
<h2>
|
||||
<span class="mw-headline" id="HTTP_Server">HTTP Server</span>
|
||||
General
|
||||
</h2>
|
||||
<table class='options_table'>
|
||||
<tr>
|
||||
<td class='options_row_label'>
|
||||
Port: <sup id="cite_ref-port_0-0" class="reference"><a href="#cite_note-port-0">[1]</a></sup>
|
||||
</td>
|
||||
<td>
|
||||
<input xowa_prop="app.http_server.port" class="options_textbox" id='xowa_prop_0' value='8080'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='options_row_label'>
|
||||
File retrieve mode: <sup id="cite_ref-file_retrieve_mode_1-0" class="reference"><a href="#cite_note-file_retrieve_mode-1">[2]</a></sup>
|
||||
</td>
|
||||
<td>
|
||||
<select xowa_prop="app.http_server.retrieve_mode" xowa_prop_list="app.http_server.retrieve_mode_list" class="options_textbox" size='3' id='xowa_prop_1'>
|
||||
<option value='wait' selected='selected'>
|
||||
wait
|
||||
</option>
|
||||
<option value='skip'>
|
||||
skip
|
||||
</option>
|
||||
<option value='async_server'>
|
||||
async server
|
||||
</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Notes">Notes</span>
|
||||
</h2>
|
||||
<p>
|
||||
See also <a href="http://xowa.org/home/wiki/App/Xtn/Browser/HTTP_Server.html" id="xolnki_2" title="App/Xtn/Browser/HTTP Server" class="xowa-visited">App/Xtn/Browser/HTTP_Server</a>
|
||||
</p>
|
||||
<ol class="references">
|
||||
<li id="cite_note-port-0">
|
||||
<span class="mw-cite-backlink"><a href="#cite_ref-port_0-0">^</a></span> <span class="reference-text">Specify port for HTTP server (default is <code>8080</code>)</span>
|
||||
</li>
|
||||
<li id="cite_note-file_retrieve_mode-1">
|
||||
<span class="mw-cite-backlink"><a href="#cite_ref-file_retrieve_mode_1-0">^</a></span> <span class="reference-text">Specify mode for retrieving files (default is <code>wait</code>)</span>
|
||||
<div class="xocfg_row flex_div">
|
||||
<div class='xocfg_itm_help'>
|
||||
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.addon.http_server.port")' title='view more info'> </span>
|
||||
</div>
|
||||
<div id='xowa.addon.http_server.port__name' class='xocfg_itm_name'>
|
||||
Port
|
||||
</div>
|
||||
<div id='xowa.addon.http_server.port__undo' data-xocfg-type='int' class='xocfg_itm_delete xocfg_itm_hide'>
|
||||
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.http_server.port")' title="reset to "8080""> </span>
|
||||
</div>
|
||||
<div class='xocfg_itm_data'>
|
||||
<input id="xowa.addon.http_server.port" data-xocfg-key="xowa.addon.http_server.port" data-xocfg-type="int" accesskey="d" class="xocfg_data__int" type="text" value="8080">
|
||||
</div><input type='hidden' id='xowa.addon.http_server.port__key_box' value='xowa.addon.http_server.port'> <input type='hidden' id='xowa.addon.http_server.port__ctx_box' value='app'>
|
||||
</div>
|
||||
<div id='xowa.addon.http_server.port_help_div' class='xohelp_div'>
|
||||
<div id='xowa.addon.http_server.port_help_msg' class='xohelp_msg'>
|
||||
<p>
|
||||
Specify port for HTTP server
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="xocfg_row flex_div">
|
||||
<div class='xocfg_itm_help'>
|
||||
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.addon.http_server.file_retrieve_mode")' title='view more info'> </span>
|
||||
</div>
|
||||
<div id='xowa.addon.http_server.file_retrieve_mode__name' class='xocfg_itm_name'>
|
||||
File retrieve mode
|
||||
</div>
|
||||
<div id='xowa.addon.http_server.file_retrieve_mode__undo' data-xocfg-type='list:xowa.addon.http_server.file_retrieve_mode' class='xocfg_itm_delete xocfg_itm_hide'>
|
||||
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.http_server.file_retrieve_mode")' title="reset to "wait""> </span>
|
||||
</div>
|
||||
<div class='xocfg_itm_data'>
|
||||
<select id="xowa.addon.http_server.file_retrieve_mode" data-xocfg-key="xowa.addon.http_server.file_retrieve_mode" data-xocfg-type="list:xowa.addon.http_server.file_retrieve_mode" accesskey="d" class="xocfg_data__list" size="3">
|
||||
<option value="wait" selected="selected">
|
||||
wait
|
||||
</option>
|
||||
<option value="skip">
|
||||
skip
|
||||
</option>
|
||||
<option value="async_server">
|
||||
async server
|
||||
</option>
|
||||
</select>
|
||||
</div><input type='hidden' id='xowa.addon.http_server.file_retrieve_mode__key_box' value='xowa.addon.http_server.file_retrieve_mode'> <input type='hidden' id='xowa.addon.http_server.file_retrieve_mode__ctx_box' value='app'>
|
||||
</div>
|
||||
<div id='xowa.addon.http_server.file_retrieve_mode_help_div' class='xohelp_div'>
|
||||
<div id='xowa.addon.http_server.file_retrieve_mode_help_msg' class='xohelp_msg'>
|
||||
<p>
|
||||
Specify mode for retrieving files
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span class="reference-text"><b>wait</b> : Wait for all files to be retrieved before showing page (slow)</span>
|
||||
<b>wait</b> : Wait for all files to be retrieved before showing page (slow)
|
||||
</li>
|
||||
<li>
|
||||
<span class="reference-text"><b>skip</b> : Never retrieve files; only files already retrieved will be shown (fast)</span>
|
||||
<b>skip</b> : Never retrieve files; only files already retrieved will be shown (fast)
|
||||
</li>
|
||||
<li>
|
||||
<span class="reference-text"><b>async server</b> : Show page immediately, but retrieve files in background. Client will have to manually refresh to show retrieved files (fast)</span>
|
||||
<b>async server</b> : Show page immediately, but retrieve files in background. Client will have to manually refresh to show retrieved files (fast)
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user