HTTP_server.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. <!DOCTYPE html>
  2. <html dir="ltr">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  5. <title>Options/HTTP Server - XOWA</title>
  6. <link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
  7. <link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
  8. </head>
  9. <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
  10. <div id="mw-page-base" class="noprint"></div>
  11. <div id="mw-head-base" class="noprint"></div>
  12. <div id="content" class="mw-body">
  13. <h1 id="firstHeading" class="firstHeading"><span>Options/HTTP Server</span></h1>
  14. <div id="bodyContent" class="mw-body-content">
  15. <div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
  16. <div id="contentSub"></div>
  17. <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
  18. <div id='xocfg_body'>
  19. <!-- TEXT:err_msg -->
  20. <div id='xocfg_err'></div>
  21. <div>
  22. <!-- BTN:info -->
  23. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.cfg_edit.help__toggle_all()' title='toggle all help'>&nbsp;</span>
  24. <!-- COMBO:cfg_grps -->
  25. <select id='xocfg_nav_select' onchange='xo.cfg_edit.select__send(this);' onkeyup='xo.cfg_edit.select__by_keypress(event, this);' accesskey='l'>
  26. <option value='xowa.app.security' >App - Security</option>
  27. <option value='xowa.app.startup' >App - Startup</option>
  28. <option value='xowa.app.dbs' >App - Databases</option>
  29. <option value='xowa.app.update' >App - Update</option>
  30. <option value='xowa.gui.general' >Gui - General</option>
  31. <option value='xowa.gui.tabs' >Gui - Tabs</option>
  32. <option value='xowa.gui.url_bar' >Gui - Address bar</option>
  33. <option value='xowa.gui.menus' >Gui - Menus</option>
  34. <option value='xowa.gui.shortcuts' >Gui - Shortcuts</option>
  35. <option value='xowa.gui.nightmode' >Gui - Nightmode</option>
  36. <option value='xowa.wiki.hdumps' >Wiki - HTML Databases</option>
  37. <option value='xowa.wiki.edit' >Wiki - Editing</option>
  38. <option value='xowa.bldr.general' >Import - General</option>
  39. <option value='xowa.bldr.db' >Import - Database</option>
  40. <option value='xowa.bldr.page_sync' >Import - Page sync</option>
  41. <option value='xowa.bldr.dansguardian' >Import - Dansguardian</option>
  42. <option value='xowa.html.css' >HTML - CSS</option>
  43. <option value='xowa.html.page' >HTML - Page</option>
  44. <option value='xowa.html.tidy' >HTML - Tidy</option>
  45. <option value='xowa.html.scripting' >HTML - Scripting</option>
  46. <option value='xowa.files.general' >Files - General</option>
  47. <option value='xowa.files.apps' >Files - Apps</option>
  48. <option value='xowa.addon.search' >Addon - Search</option>
  49. <option value='xowa.addon.fulltext_search' >Addon - Full-text search</option>
  50. <option value='xowa.addon.category' >Addon - Category</option>
  51. <option value='xowa.addon.http_server' selected='selected'>Addon - HTTP Server</option>
  52. <option value='xowa.addon.scribunto' >Addon - Scribunto</option>
  53. <option value='xowa.addon.math' >Addon - Math</option>
  54. <option value='xowa.addon.score' >Addon - Score</option>
  55. <option value='xowa.addon.popups' >Addon - Popups</option>
  56. <option value='xowa.addon.wikibase' >Addon - Wikidata</option>
  57. <option value='xowa.dev.general' >Dev - General</option>
  58. <option value='xowa.app.settings' >App - Settings</option>
  59. </select>
  60. <!-- LINK:cfg_link -->
  61. <div style='float:right;margin:2px 7px;'>
  62. <a id='options_lnk'>options link</a>
  63. </div>
  64. </div>
  65. <div id='cfg_grps'>
  66. <!-- TEXT:page_help -->
  67. <div>
  68. <p id='page_help_para'></p>
  69. </div>
  70. <h2>General</h2>
  71. <div class="xocfg_row flex_div">
  72. <!-- BTN:help_item -->
  73. <div class='xocfg_itm_help'>
  74. <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'>&nbsp;</span>
  75. </div>
  76. <!-- TEXT:key -->
  77. <div id='xowa.addon.http_server.port__name' class='xocfg_itm_name'>Port</div>
  78. <!-- BTN:undo -->
  79. <div id='xowa.addon.http_server.port__undo' data-xocfg-type='int' class='xocfg_itm_delete xocfg_itm_hide'>
  80. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.http_server.port")' title="reset to &quot;8080&quot;">&nbsp;</span>
  81. </div>
  82. <!-- TEXT:val -->
  83. <div class='xocfg_itm_data'>
  84. <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"></input></div>
  85. <!-- HIDDEN:key,ctx -->
  86. <input type='hidden' id='xowa.addon.http_server.port__key_box' value='xowa.addon.http_server.port'></input>
  87. <input type='hidden' id='xowa.addon.http_server.port__ctx_box' value='app'></input>
  88. </div>
  89. <!-- DIV:help -->
  90. <div id='xowa.addon.http_server.port_help_div' class='xohelp_div'>
  91. <div id='xowa.addon.http_server.port_help_msg' class='xohelp_msg'><p>Specify port for HTTP server
  92. </p>
  93. </div>
  94. </div>
  95. <div class="xocfg_row flex_div">
  96. <!-- BTN:help_item -->
  97. <div class='xocfg_itm_help'>
  98. <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'>&nbsp;</span>
  99. </div>
  100. <!-- TEXT:key -->
  101. <div id='xowa.addon.http_server.file_retrieve_mode__name' class='xocfg_itm_name'>File retrieve mode</div>
  102. <!-- BTN:undo -->
  103. <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'>
  104. <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 &quot;wait&quot;">&nbsp;</span>
  105. </div>
  106. <!-- TEXT:val -->
  107. <div class='xocfg_itm_data'>
  108. <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">
  109. <option value="wait" selected="selected">wait</option>
  110. <option value="skip">skip</option>
  111. <option value="async_server">async server</option>
  112. </select>
  113. </div>
  114. <!-- HIDDEN:key,ctx -->
  115. <input type='hidden' id='xowa.addon.http_server.file_retrieve_mode__key_box' value='xowa.addon.http_server.file_retrieve_mode'></input>
  116. <input type='hidden' id='xowa.addon.http_server.file_retrieve_mode__ctx_box' value='app'></input>
  117. </div>
  118. <!-- DIV:help -->
  119. <div id='xowa.addon.http_server.file_retrieve_mode_help_div' class='xohelp_div'>
  120. <div id='xowa.addon.http_server.file_retrieve_mode_help_msg' class='xohelp_msg'><p>Specify mode for retrieving files
  121. </p>
  122. <ul>
  123. <li> <b>wait</b> : Wait for all files to be retrieved before showing page (slow)
  124. </li>
  125. <li> <b>skip</b> : Never retrieve files; only files already retrieved will be shown (fast)
  126. </li>
  127. <li> <b>async server</b> : Show page immediately, but retrieve files in background. Client will have to manually refresh to show retrieved files (fast)
  128. </li>
  129. </ul>
  130. </div>
  131. </div>
  132. </div>
  133. </div>
  134. </div>
  135. </div>
  136. </div>
  137. <div id="mw-head" class="noprint">
  138. <div id="left-navigation">
  139. <div id="p-namespaces" class="vectorTabs">
  140. <h3>Namespaces</h3>
  141. <ul>
  142. <li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
  143. </ul>
  144. </div>
  145. </div>
  146. </div>
  147. <div id='mw-panel' class='noprint'>
  148. <div id='p-logo'>
  149. <a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
  150. </div>
  151. <div class="portal" id='xowa-portal-home'>
  152. <h3>XOWA</h3>
  153. <div class="body">
  154. <ul>
  155. <li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
  156. <li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
  157. <li><a href="https://www.youtube.com/watch?v=q0qbXYXEH6M" title="See a video of XOWA Desktop in action">Video</a></li>
  158. <li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
  159. <li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
  160. </ul>
  161. </div>
  162. </div>
  163. <div class="portal" id='xowa-portal-started'>
  164. <h3>Getting started</h3>
  165. <div class="body">
  166. <ul>
  167. <li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
  168. <li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
  169. <li><a href="http://xowa.org/home/wiki/App/Import/Simple_Wikipedia.html" title='Learn how to set up Simple Wikipedia'>Simple Wikipedia</a></li>
  170. <li><a href="http://xowa.org/home/wiki/App/Import/English_Wikipedia.html" title='Learn how to set up English Wikipedia'>English Wikipedia</a></li>
  171. <li><a href="http://xowa.org/home/wiki/App/Import/Other_wikis.html" title='Learn how to set up other Wikipedias'>Other Wikipedias</a></li>
  172. </ul>
  173. </div>
  174. </div>
  175. <div class="portal" id='xowa-portal-android'>
  176. <h3>Android</h3>
  177. <div class="body">
  178. <ul>
  179. <li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
  180. <li><a href="https://www.youtube.com/watch?v=jsMTBxGweUw" title="See a video of XOWA Android in action">Video</a></li>
  181. </ul>
  182. </div>
  183. </div>
  184. <div class="portal" id='xowa-portal-help'>
  185. <h3>Help</h3>
  186. <div class="body">
  187. <ul>
  188. <li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
  189. <li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
  190. <li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
  191. <li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
  192. </ul>
  193. </div>
  194. </div>
  195. <div class="portal" id='xowa-portal-blog'>
  196. <h3>Blog</h3>
  197. <div class="body">
  198. <ul>
  199. <li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
  200. </ul>
  201. </div>
  202. </div>
  203. <div class="portal" id='xowa-portal-links'>
  204. <h3>Links</h3>
  205. <div class="body">
  206. <ul>
  207. <li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
  208. <li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
  209. <li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
  210. </ul>
  211. </div>
  212. </div>
  213. <div class="portal" id='xowa-portal-donate'>
  214. <h3>Donate</h3>
  215. <div class="body">
  216. <ul>
  217. <li><a href="https://archive.org/donate/index.php" title="Support archive.org!">archive.org</a></li><!-- listed first due to recent fire damages: http://blog.archive.org/2013/11/06/scanning-center-fire-please-help-rebuild/ -->
  218. <li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
  219. <li><a href="http://xowa.org/home/wiki/Help/Donate.html" title="Support XOWA!">XOWA</a></li>
  220. </ul>
  221. </div>
  222. </div>
  223. </div>
  224. </body>
  225. </html>