home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spezial / SPEZIAL2_97.zip / SPEZIAL2_97.iso / ANWEND / ONLINE / SREFV12J / CONFIGS.ZIP / autoname.cnf < prev    next >
Text File  |  1997-07-06  |  5KB  |  115 lines

  1.  
  2. <h1>Empty requests: INDEX, directory name, and directory listing option</h1>
  3.  
  4. Use this to identify the name(s) of  <em>directory-specific default documents</em>.
  5. You can choose a static name, or you can choose one of several
  6. special options.
  7.  
  8. <FORM ACTION="/srefconf" METHOD="GET">
  9. <input type="hidden" name="SET" value="auto_name">
  10.  
  11. What file(s) should be used for <em>directory-specific default document</em>?
  12. <em>Check ALL that apply. </em>
  13.  
  14. <ol>
  15. <LI><INPUT TYPE=checkbox NAME="thevalue1" VALUE="INDEX.HTM" $htmindex >Use INDEX.HTM
  16. <LI><INPUT TYPE=checkbox NAME="thevalue2" VALUE="index.html" $htmlindex >Use INDEX.HTML
  17. <LI><INPUT TYPE=checkbox NAME="thevalue1a" VALUE="index.sht" $shtmindex >Use INDEX.SHT
  18. <LI><INPUT TYPE=checkbox NAME="thevalue2a" VALUE="index.shtml" $shtmlindex >Use INDEX.SHTML
  19.  
  20. <LI><INPUT TYPE=checkbox NAME="thevalue3" VALUE="*.HTM" $htmdirname >Use <code>dirname</code>.HTM
  21. <LI><INPUT TYPE=checkbox NAME="thevalue4" VALUE="*.HTML" $htmldirname >Use <code>dirname</code>.HTML
  22. <LI><INPUT TYPE=checkbox NAME="thevalue3a" VALUE="*.SHT" $shtmdirname >Use <code>dirname</code>.SHT
  23. <LI><INPUT TYPE=checkbox NAME="thevalue4a" VALUE="*.SHTML" $shtmldirname >Use <code>dirname</code>.SHTML
  24.  
  25. <LI> Look for other files: <INPUT TYPE=text  NAME="thevalue5" VALUE="$other"
  26.    SIZE=36 MAXLENGTH=36>
  27. <LI><INPUT TYPE=checkbox NAME="thevalue6" VALUE="!DIR" $createdir $DIR_DIR >
  28.  If none of the above files can be found, create a directory listing?
  29. <menu>
  30. <LI><INPUT TYPE=RADIO NAME="thevalue6a" VALUE="1">Yes |
  31. <INPUT TYPE=RADIO NAME="thevalue6a" VALUE="0">No  :
  32.  Generate <b>automatic descriptions</b> when creating a directory listing?
  33.  
  34. <!-- z INPUT TYPE=checkbox NAME="thevalue6a" VALUE="YES" $auto_describe
  35.  Generate <b>automatic descriptions</b> when creating a directory listing? -->
  36. </menu>
  37. </ol>
  38.  
  39.  
  40. <INPUT TYPE="submit" VALUE="Update this Parameter">
  41.  
  42. </FORM>
  43.  
  44. $cancel
  45.  
  46. <hr>
  47. <h2> Notes </h2>
  48.  
  49. The <em>directory-specific</em> default document is used when a request
  50. for a directory, that does not specify a specific file, is recieved.
  51. <p>
  52.  For example, if the request selector is:
  53.  
  54. <MENU>
  55. <LI> <code>animals/cats/</code>
  56. </MENU>
  57. <br>SRE-Filter will look in the <code>animals/cats/</code>
  58. subdirectory (of your GoServe data directory) for one of the
  59. <em>directory-specific</em> default documents.
  60. <p> Alternatively, you can invoke SRE-Filter's built-in <em>directory lister</em>.
  61. The <em>directory lister</em> will create a document containing a <em>hot-linked</em>
  62. directory of all files (and subdirectories) under this requested directory.
  63. <BR>
  64.  
  65. <h3> More notes ... </h3>
  66. <ul>
  67. <LI> The <b>Use <code>dirname</code>.HTM </b> <em>(or .HTML,.SHT, and .SHTML) </em>
  68. options are special features that allow one to use a file name
  69. with the same name as the directory.<br>
  70. For example,if the request selector is:
  71. <menu><li> <code>animals/cats/</code></menu>
  72. <br> SRE-Filter would look for <code>CATS.HTM</code> (or <code>CATS.HTML, etc.</code>)
  73. in the <code>animals/cats/</code> subdirectory.
  74. <br>
  75. <LI> SRE-Filter will try each <em>checked</em> option in the order listed
  76. above. Thus, if you checked all the above, SRE-Filter would:
  77. <ol><LI> look for INDEX.HTM, INDEX.SHT, INDEX.HTML and INDEX.SHTML
  78. <LI> look for <tt>dirname</tt>.htm, <tt>dirname.</tt>HTML, <tt>dirname.</tt>SHT,
  79. and <tt>dirname.</tt>SHTML,
  80. <LI> look for <tt>other </tt> files
  81. <LI> If the above all fail, SRE-Filter will then  create a <em>directory
  82. listing</em>.
  83. </ol>
  84. <LI> By default, the <em>directory listing</em> includes a descriptive icon,
  85. a filename (which is linked to the actual file), the creation date and the
  86. size. Optionally, you can <b>Create an automatic description</b>.
  87. <blockquote>
  88. If you select the <b>Create an automatic description</b> option,
  89. SRE-Filter will examine each file for descriptive information. If descriptive
  90. information is found, it will be displayed along with the other file information.
  91. <br>Specifically:
  92. <ul><LI> For HTML documents: The <TITLE>  and
  93. < meta name="description" content= .. >
  94. elements in the
  95. <HEAD>  are extracted.
  96. <LI> For plain text documents: the beginnning of the file is.
  97. <LI> For .ZIP files: the -z <em>.ZIP file comment</em> is used. If no
  98. -z comment exists, a FILE_ID.DIZ file is extracted from the .ZIP file (if
  99. one exists).
  100. <LI> Otherwise, an automatic description is <b>not</b> created.
  101. </ul>
  102. In all cases, the automatic description will be no longer then 250 characters.
  103. </blockquote>
  104.  
  105. <li>If you wish to fine tune the <em>directory lister</em> display options,
  106. you can use <A HREF="/config2.htm#initfilt">the intermediate mode configurator</A> to modify the <var>DIR_OPTIONS,
  107. DIR_ACCESS, DIR_ACCESS_PRIVS, </var>
  108. and <VAR>DIR_EXCLUSION</var> parameters. See the DIR.DOC file for details.
  109.  
  110. <LI>This option is <b>not</b> used when an <em>empty</em> request selector
  111. is recieved (see the 
  112. <A HREF="/SREFCONF?SHOW=index">The home-page document</A>  option).
  113.  
  114. </ul>
  115.