home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
ANWEND
/
ONLINE
/
SREFV12J
/
CONFIGS.ZIP
/
addpurl.cnf
< prev
next >
Wrap
Text File
|
1997-03-01
|
5KB
|
130 lines
<h1> Add a Public Area Identifier</h1>
<b>PUBLIC Area Identifiers</b> can be used to allow free access
to selected areas of your web site. For these areas,
<EM>logon </EM>and <EM>access</EM> controls are suspended.
<p>
<FORM ACTION="/srefconf" METHOD="GET">
<input type="hidden" name="SET" value="add_publicurl">
Define a<STRONG> Public Area Identifier</STRONG>
<em>(request selectors are compared to Public Area Identifiers): </em>
<INPUT TYPE="text" NAME="url"
VALUE="" SIZE=40 MAXLENGTH=80>
<p><strong>Options</strong><br>
For a client request that matches this <STRONG>PUBLIC Area Identifier</STRONG>:
<ul>
<LI> <INPUT TYPE="CHECKBOX" NAME="literal" VALUE="1" CHECKED>
Suppress <em>server side includes, redirection, virtual directories and default document lookup</em>
<LI> <INPUT TYPE="CHECKBOX" NAME="norecord" VALUE="1" CHECKED>
Suppress <em>common-log auditing and SRE-Filter's recording of this request</em>
</ul>
<BR><INPUT TYPE="submit" VALUE="Add this Entry">
</FORM>
$CANCEL
<hr>
<h2>Notes</h2>
The basic idea is that before <EM>logon </EM>or <EM>access_controls</EM>
are checked, SRE-Filter checks if the <EM>request selector</EM>
points to one of the <b>PUBLIC Area Identifiers</b>.
If so, <STRONG>no</STRONG> <EM>logon </EM>or <EM>access controls</em>
are attempted.
<P>
Specifically, when a <b>Public Area Identifier</b> matches
the client's <EM>request selector</EM>:
<ul>
<LI> logon checking does NOT occur
<LI> SEL-specific access controls are <b>not</b> examined
(but SEL-specific permissions will be obtained)
<LI> ~ substitution, redirection,
and virtual directory lookup <b>will</b> occur (but see below
for an exception to this rule).
</ul>
<blockquote>In a sense, the areas are
<STRONG>purposely placed outside</STRONG> of the protection of
SRE-Filter's various access controls.</blockquote>
<h3>More Notes </h3>
<ul>
<LI> The * can be used as a <em>wildcard character </em>
in the <b>Public Area Identifier</b> field
<blockquote> Exact matches are always used if they exist.
If there is no exact match, and
if multiple wildcard matches occur,
the <EM>best </EM>match is used; where <EM>best </EM>
is defined as the match with
the most characters before the * (the wildcard) character (and in the
event of ties, the most after). </blockquote>
<LI> On multiple host systems, generic (non-host specific) <b>PUBLIC
Areas Identifiers</b> will <strong>not</strong> be used with requests to
a specific host.
<BR>
<LI> The two <b>suppression</b> fields can be used to expedite
throughput.
<UL>
<LI>If you suppress <em>server side includes, redirection, virtual directories and default document lookup</em>,
SRE-Filter assumes that the requested file is relative to the GoServe data
directory. Furthermore,
server side includes will <b>not</b> be attempted on HTML documents.
<LI>If you suppress <em> SRE-Filter's recording of this request</em>, the
request will <b>not</b> be logged in the SRE-Filter transaction recorder.
It <b>will</b> be recorded in GoServe's GOAUDIT.80 audit file.</ul>
One good use of these two suppression options is for .GIF files that
are sent as in-line images (since you probably don't care to track
how many times they've been requested).
<LI> The current GoServe data directory is: $datadir
<LI> <b>PUBLIC Area Identifiers</b> are stored in: $initfilt_file
(note that SRE-Filter's documentation usually refers to these <b>Public
Area Identifiers</b>. as <var>PUBLIC_URLS.</var>)
</ul>
<h3>Examples</h3>
<dl>
<DT><STRONG>INDEX.HTM</STRONG>
<dd> INDEX.HTM, in the GoServe data directory will be available to
all clients.
<Dt><STRONG>MAPS/* </STRONG>
<dd> This gives access to everything in (and below)
the MAPS/ directory --
where MAPS/ is relative to the GoServe data directory, or signifies
a virtual directory.
<dt><STRONG>STORE/AD1.HTM</STRONG>, with
the <em>supress redirection, etc.</em> option selected.
<dd>AD1.HTM in the STORE/ directory (relative to the GoServe data directory,
with <b>no</b> virtual directory checking) will be transferred as is;
server side includes will <b>not</b> be attempted.
<dt><STRONG>STORE/*.GIF</STRONG>, with
the <em>supress recording</em> option selected.
<dd> All .GIF files in STORE/ will be available to all clients,
with no recording of these transfers
</dl>
<h3>A Caution</h3>
When using <b>PUBLIC Area Identifiers</b>, URL resolution by the client's
browser may have unexpected consequences. See the discussion of
<U>local vs remote redirection</U> in
<A HREF="/samples/initfilt.doc">INITFILT.DOC </A> for details!
<p>