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 >
Wrap
Text File
|
1997-07-06
|
5KB
|
115 lines
<h1>Empty requests: INDEX, directory name, and directory listing option</h1>
Use this to identify the name(s) of <em>directory-specific default documents</em>.
You can choose a static name, or you can choose one of several
special options.
<FORM ACTION="/srefconf" METHOD="GET">
<input type="hidden" name="SET" value="auto_name">
What file(s) should be used for <em>directory-specific default document</em>?
<em>Check ALL that apply. </em>
<ol>
<LI><INPUT TYPE=checkbox NAME="thevalue1" VALUE="INDEX.HTM" $htmindex >Use INDEX.HTM
<LI><INPUT TYPE=checkbox NAME="thevalue2" VALUE="index.html" $htmlindex >Use INDEX.HTML
<LI><INPUT TYPE=checkbox NAME="thevalue1a" VALUE="index.sht" $shtmindex >Use INDEX.SHT
<LI><INPUT TYPE=checkbox NAME="thevalue2a" VALUE="index.shtml" $shtmlindex >Use INDEX.SHTML
<LI><INPUT TYPE=checkbox NAME="thevalue3" VALUE="*.HTM" $htmdirname >Use <code>dirname</code>.HTM
<LI><INPUT TYPE=checkbox NAME="thevalue4" VALUE="*.HTML" $htmldirname >Use <code>dirname</code>.HTML
<LI><INPUT TYPE=checkbox NAME="thevalue3a" VALUE="*.SHT" $shtmdirname >Use <code>dirname</code>.SHT
<LI><INPUT TYPE=checkbox NAME="thevalue4a" VALUE="*.SHTML" $shtmldirname >Use <code>dirname</code>.SHTML
<LI> Look for other files: <INPUT TYPE=text NAME="thevalue5" VALUE="$other"
SIZE=36 MAXLENGTH=36>
<LI><INPUT TYPE=checkbox NAME="thevalue6" VALUE="!DIR" $createdir $DIR_DIR >
If none of the above files can be found, create a directory listing?
<menu>
<LI><INPUT TYPE=RADIO NAME="thevalue6a" VALUE="1">Yes |
<INPUT TYPE=RADIO NAME="thevalue6a" VALUE="0">No :
Generate <b>automatic descriptions</b> when creating a directory listing?
<!-- z INPUT TYPE=checkbox NAME="thevalue6a" VALUE="YES" $auto_describe
Generate <b>automatic descriptions</b> when creating a directory listing? -->
</menu>
</ol>
<INPUT TYPE="submit" VALUE="Update this Parameter">
</FORM>
$cancel
<hr>
<h2> Notes </h2>
The <em>directory-specific</em> default document is used when a request
for a directory, that does not specify a specific file, is recieved.
<p>
For example, if the request selector is:
<MENU>
<LI> <code>animals/cats/</code>
</MENU>
<br>SRE-Filter will look in the <code>animals/cats/</code>
subdirectory (of your GoServe data directory) for one of the
<em>directory-specific</em> default documents.
<p> Alternatively, you can invoke SRE-Filter's built-in <em>directory lister</em>.
The <em>directory lister</em> will create a document containing a <em>hot-linked</em>
directory of all files (and subdirectories) under this requested directory.
<BR>
<h3> More notes ... </h3>
<ul>
<LI> The <b>Use <code>dirname</code>.HTM </b> <em>(or .HTML,.SHT, and .SHTML) </em>
options are special features that allow one to use a file name
with the same name as the directory.<br>
For example,if the request selector is:
<menu><li> <code>animals/cats/</code></menu>
<br> SRE-Filter would look for <code>CATS.HTM</code> (or <code>CATS.HTML, etc.</code>)
in the <code>animals/cats/</code> subdirectory.
<br>
<LI> SRE-Filter will try each <em>checked</em> option in the order listed
above. Thus, if you checked all the above, SRE-Filter would:
<ol><LI> look for INDEX.HTM, INDEX.SHT, INDEX.HTML and INDEX.SHTML
<LI> look for <tt>dirname</tt>.htm, <tt>dirname.</tt>HTML, <tt>dirname.</tt>SHT,
and <tt>dirname.</tt>SHTML,
<LI> look for <tt>other </tt> files
<LI> If the above all fail, SRE-Filter will then create a <em>directory
listing</em>.
</ol>
<LI> By default, the <em>directory listing</em> includes a descriptive icon,
a filename (which is linked to the actual file), the creation date and the
size. Optionally, you can <b>Create an automatic description</b>.
<blockquote>
If you select the <b>Create an automatic description</b> option,
SRE-Filter will examine each file for descriptive information. If descriptive
information is found, it will be displayed along with the other file information.
<br>Specifically:
<ul><LI> For HTML documents: The <TITLE> and
< meta name="description" content= .. >
elements in the
<HEAD> are extracted.
<LI> For plain text documents: the beginnning of the file is.
<LI> For .ZIP files: the -z <em>.ZIP file comment</em> is used. If no
-z comment exists, a FILE_ID.DIZ file is extracted from the .ZIP file (if
one exists).
<LI> Otherwise, an automatic description is <b>not</b> created.
</ul>
In all cases, the automatic description will be no longer then 250 characters.
</blockquote>
<li>If you wish to fine tune the <em>directory lister</em> display options,
you can use <A HREF="/config2.htm#initfilt">the intermediate mode configurator</A> to modify the <var>DIR_OPTIONS,
DIR_ACCESS, DIR_ACCESS_PRIVS, </var>
and <VAR>DIR_EXCLUSION</var> parameters. See the DIR.DOC file for details.
<LI>This option is <b>not</b> used when an <em>empty</em> request selector
is recieved (see the
<A HREF="/SREFCONF?SHOW=index">The home-page document</A> option).
</ul>