home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
ANWEND
/
ONLINE
/
SREFV12J
/
CONFIGS.ZIP
/
accfail.cnf
next >
Wrap
Text File
|
1997-03-01
|
2KB
|
60 lines
<h1> Return a customized response when SEL-specfic access is denied</h1>
When a client's is denied access to a resource (but does have <em>logon</em>
rights), SRE-Filter can return
a customizable response.
<p>
<FORM ACTION="/srefconf" METHOD="GET">
<input type="hidden" name="SET" value="ACCESS_FAIL_FILE">
Send a customizable response when <em>SEL-specific</em> access is denied?
<INPUT TYPE=RADIO NAME="yesno" VALUE="0" $isno >No |
<INPUT TYPE=RADIO NAME="yesno" VALUE="1" $isyes >Yes
<INPUT TYPE="submit" VALUE="Update this Parameter">
</FORM>
$cancel
<hr>
<h2> Notes </h2>
If access to a server resource is denied on a SEL-specific basis,
SRE-Filter can
either send a "401 Unauthorized" response; or the contents of
the ACCFAIL.HTM file.
<p>
ACCFAIL.HTM is sent as is; with a few substitutions:
<ul>
<li> <!-- #URL --> phrases are substituted with the URL (of the requested resource).
<LI> <!-- #SERVER --> phrases are substituted with the servername.
<LI> <!-- #WEBMASTER --> phrases are substituted with the WEBMASTER variable.
<LI> <!-- #MESSAGE --> phrases are substituted with a short description
of the reason for failure
<LI> <!-- #LINK --> phrases are substituted with the URL (of requested resource).
</ul>
<H3>Miscellaneous Notes</H3>
<ul><LI> If ACCFAIL.HTM is unavailable, a "401 Unauthorized" response is
sent. This typically results in the client being reprompted for
a new username and password.
<li>It is HIGHLY recommended that a #LINK be included. Without such an
entry, the client will be unable to enter a new username/password, should
his first entry be misspelled (or if he had previously used a
different username/password for a different resource on the same server).
<blockquote>The #LINK entry uses a special form of request selector.
The effect is to force SRE-Filter to request authorization should
the current username/password be incorrect; thereby avoiding an
annoying recursive trap. </blockquote>
<li> You can use the intermediate configurator to
specify SEL-specific "access failure" files.
<li> By default, <b>ACCFAIL.HTM</b> is located in $servdir.
<li>You can use the <b>ACCFAIL.HTM</b> file that is shipped with
SRE-Filter as is, or customize it for your site.
</ul>