home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / srev13h.zip / config2a.ht0 < prev    next >
Text File  |  1999-06-18  |  8KB  |  251 lines

  1. <!doctype html public "-//IETF//DTD HTML 2.0//EN">
  2. <html> <head> <title> SRE-http configurator: Legacy Intermediate Mode </title>
  3. </head>
  4.  
  5. <BODY bgcolor="#2dd52f" >   
  6.  
  7. <!--  a button bar. -->
  8. <a href="/configur.htm">Configurator</a>||
  9. <a href="/config2?todo=SET">Parameters</a>||
  10. <a href="/usercfg?todo=SET">Usernames</a>||
  11. <a href="/accescfg?todo=SET">Access-Controls||
  12. <a href="/aliascfg?todo=SET">Aliases</a>||
  13. <a href="/virtcfg?todo=SET">VirtualDir</a>||
  14. <a href="#htaccessfile">HTAccess</a>||
  15. <a href="#checksel">Check Selector</a>
  16.  
  17. <p>
  18.       
  19. <table><TR>                  
  20. <td><img src="/imgs/srefiltr.gif" align="middle">
  21. <td> 
  22. <h2> 
  23.   The SRE-http Configurator: Intermediate Mode (legacy) </h2>
  24. </table>
  25.  
  26. This is the <em>legacy intermediate mode</em> <A NAME="toppage">SRE-http</A> configurator. 
  27. It allows you to modify many of SRE-http's 
  28. parameters.  New users may wish to use the simpler (but somewhat less
  29. powerful) <A HREF="/config0.htm">simple mode configurator</A>.
  30.  
  31. <blockquote>
  32. For several reasons we highly recommend use of 
  33. the <a href="/config2b.htm">newer intermediate configurator</a>
  34. (that uses "realm definitions") instead of 
  35.  this "legacy intermediate configurator":
  36. <ul>
  37. <li> The use of "realms" is consistent with how other WWW software organizes
  38.      URLs
  39. <li> The "mime-like" structure of realm definitions should be easier to work
  40.      with then the more idiosyncratic .IN files.
  41. <li> SRE-http's intermediate configurator can be used to modify
  42.      "host-specific" versions of realm definition files.
  43. </ul>
  44. </blockquote>
  45.  
  46. <p>
  47. <STRONG>Technical note:</STRONG> 
  48. <blockquote>For this configurator to work, you must have installed SRE-http as your
  49. GoServe filter, and GoServe must be running. By default, SRE-http permits
  50. remote configuration (provided the client has SUPERUSER privileges).
  51. If you are very security conscious, you can disable remote configuration
  52. (and permit configuration only from the server) -- <em> for details, see
  53. the description of the NO_REMOTE_CONFIG parameter in INITFILT.DOC </em></blockquote>
  54. <p>
  55.  
  56.  
  57.  
  58. <hr width=50>
  59.  
  60. <p>
  61.  
  62. <h2> Contents </h2>
  63. Please choose from the following:
  64. <ol>
  65. <LI>You might want to peruse a documemtation file:
  66. <ul>
  67. <li> <a href="/SAMPLES/initfilt.doc"> SRE-http parameters description
  68. and optimization hints </a>
  69. <li>  <a href="/SAMPLES/SREhttp.htm"> SRE-http Documentation </a>
  70. <li>  <a href="/SAMPLES/IN_FILES.doc"> Description of selector-specific parameter files </a>
  71. </ul>
  72. <LI> Modifying <A HREF="#initfilt">initialization parameters</A>. <em> <!-- replace variable.initfilt_file --> </em>
  73. <LI> Add,remove or modify <A HREF="#userfile">usernames, passwords, and privileges</A>. <em><!-- replace variable.user_file --> </em>
  74. <LI> Add, remove or modify <A HREF="#accessfile">SEL-specific access controls.</A> <em>  <!-- replace variable.access_file --></em>
  75. <LI> Add, remove or modify <a href="#aliasfile"> redirection aliases. </a> <em> <!-- replace variable.alias_file --> </em>
  76. <LI> Add, remove or modify <a href="#virtualfile"> virtual directories. </a><em><!-- replace variable.virtual_file --></em>
  77. <LI> Create or modify <a href="#htaccessfile"> HTACCESS files </a><em><!-- replace variable.htaccess_file --></em>
  78.  
  79. </ol>
  80.  
  81. <blockquote>Note: <em>file names</em> indicate the <em>current names</em> of the
  82.  text files that contain SRE-http parameters (or HTACCESS parameters).
  83. Ambitious users may wish to directly edit these text files directly, without
  84. using CONFIG2.HTM!</blockquote>
  85. <p>
  86. Or... would you like to <A HREF="#testurl">test how SRE-http resolves a request</A>?
  87.  
  88. <p>
  89. <hr size=5>
  90. <h2> <A NAME="initfilt">Modify initialization parameters.</A> </h2>
  91.  
  92. <FORM ACTION="/config2" METHOD="GET">
  93.  
  94. <strong>do you want to </strong> ..
  95. <SELECT NAME="todo" SIZE=2>
  96. <OPTION value="SHOW">Show SRE-http's initialization parameters
  97. <OPTION value="SET">Modify SRE-http's initialization parameters
  98. </SELECT>
  99. ?
  100.  
  101. <br>
  102. <blockquote> If you want to modify host-specific parameters,
  103.  enter the host nickname:
  104. <INPUT TYPE="text" NAME="HOST_NICKNAME"  SIZE=15 MAXLENGTH=15>
  105. <br> <em> Leave this blank if you are <b>not </b> running a multi-host
  106. server, or if you want to modify the generic (non host-specific) parameters.</em>
  107. </blockquote>
  108.  
  109. <p>
  110.  
  111. <INPUT TYPE="submit" VALUE="submit"> <em>Patience, it will take a few seconds
  112. to generate the form... </em> <br> 
  113.  
  114. </FORM>
  115. <p>
  116. <hr size=5>
  117. <h2> <A NAME="userfile"> Modify usernames and passwords</A> </h2>
  118. <FORM ACTION="/usercfg" METHOD="GET">
  119.  
  120.  <strong>do you want to </strong> ..
  121. <SELECT NAME="todo" SIZE=2>
  122. <OPTION value="SHOW">Show the current set of usernames/passwords
  123. <OPTION value="SET"> Add, delete or modify usernames/passwords.
  124. <OPTION SELECTED > ..
  125. </SELECT>
  126. ?
  127. <p>
  128.  
  129. <INPUT TYPE="submit" VALUE="submit">
  130.  
  131.  
  132. </form>
  133. <p>
  134.  
  135.  
  136. <hr size=5>
  137. <h2> <A NAME="accessfile">Modify SEL-specific access control</A> </h2>
  138. <FORM ACTION="/accescfg" METHOD="GET">
  139.  
  140. <strong>do you want to </strong> ..
  141.  
  142. <SELECT NAME="todo" SIZE=2>
  143. <OPTION value="SHOW">Show the current set of SEL-specific access controls
  144. <OPTION value="SET"> Add, delete or modify SEL-specific access controls
  145. <OPTION SELECTED >..
  146. </SELECT>
  147. ?
  148. <p>
  149.  
  150. <INPUT TYPE="submit" VALUE="submit">
  151.  
  152.  
  153. </form>
  154.  
  155. <p>
  156.  
  157. <hr size=5>
  158. <h2> <A NAME="aliasfile">Modify redirection aliases </A></h2>
  159. <FORM ACTION="/aliascfg" METHOD="GET">
  160.  
  161. <strong>do you want to </strong> ..
  162.  
  163. <SELECT NAME="todo" SIZE=2>
  164. <OPTION value="SHOW">Show the current set of redirection aliases
  165. <OPTION value="SET"> Add, delete or modify redirection aliases
  166. <OPTION SELECTED >..
  167. </SELECT>
  168. ?
  169. <p>
  170.  
  171. <INPUT TYPE="submit" VALUE="submit">
  172.  
  173.  
  174. </form>
  175.  
  176. <p>
  177.  
  178. <hr size=5>
  179. <h2> <A NAME="virtualfile"> Modify virtual directories</A></h2>
  180. <FORM ACTION="/virtcfg" METHOD="GET">
  181.  
  182. <strong>do you want to  </strong> 
  183.  
  184. <SELECT NAME="todo" SIZE=2>
  185. <OPTION value="SHOW">Show the current set of virtual directories
  186. <OPTION value="SET"> Add, delete or modify virtual directories
  187. <OPTION SELECTED >..
  188. </SELECT>
  189. ?
  190. <p>
  191.  
  192. <INPUT TYPE="submit" VALUE="submit">
  193. </form>
  194.  
  195.  
  196. <hr size=5>
  197. <h2> <A NAME="htaccessfile"> Modify HTACCESS files</A></h2>
  198. <FORM ACTION="/htaccfg" METHOD="GET">
  199.  
  200. Enter the directory containing the HTACCESS file to create or modify:
  201. <INPUT TYPE="text" NAME="htfile"  SIZE=30 MAXLENGTH=50>
  202. <p>
  203. <em>Note:</em> relative directories
  204. (with no drive letter or leading back slash) are assumed to
  205. be subdirectories of the data directory
  206. <!-- interpret code tmp.1=translate(datadir(),'\','/') ;
  207.         interpret.results='(which currently is <strong>: '||tmp.1||'</strong>)' -->
  208. <p><INPUT TYPE="submit" VALUE="submit">
  209. </form>
  210.  
  211.  
  212. <hr size=15>
  213.  
  214. <h2> <A NAME="testurl"> (beta) Selector specfic info (resource privileges, aliases, etc.)</A></h2>
  215. <FORM ACTION="/checksel" METHOD="GET">
  216. Enter the <em>request selector</em> (the URL) to test (i.e; <code>/DIR1/INDEX.HTM</code>):
  217. <INPUT TYPE="text" NAME="testurl"  SIZE=40 MAXLENGTH=70>
  218. <br><b>Note</b>: you can include a different servername as part of the URL<br>
  219. For example, <code> http://foo.bar.net/dir1/index.htm </code>
  220.  
  221. <p>
  222. <em>Optional:</em> Enter a  client IP address:
  223. <INPUT TYPE="text" NAME="testclient"  SIZE=20 MAXLENGTH=30>  
  224. <p>
  225. <em>Optional:</em> Enter a "test"  username 
  226. <INPUT TYPE="text" NAME="username"  SIZE=20 MAXLENGTH=30>  
  227. <em>and password </em>
  228. <INPUT TYPE="text" NAME="password"  SIZE=20 MAXLENGTH=30>  
  229.  
  230.  
  231. </SELECT>
  232. <p>
  233.  
  234. <INPUT TYPE="submit" VALUE="submit">
  235.  
  236.  
  237. </form>
  238.  
  239.  
  240.  
  241. <hr size=5>
  242. <A HREF="#toppage">Return to top of page </A>
  243.  
  244.  
  245. </body> </html>
  246.  
  247.  
  248.  
  249.  
  250.  
  251.