home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
srev13h.zip
/
config2a.ht0
< prev
next >
Wrap
Text File
|
1999-06-18
|
8KB
|
251 lines
<!doctype html public "-//IETF//DTD HTML 2.0//EN">
<html> <head> <title> SRE-http configurator: Legacy Intermediate Mode </title>
</head>
<BODY bgcolor="#2dd52f" >
<!-- a button bar. -->
<a href="/configur.htm">Configurator</a>||
<a href="/config2?todo=SET">Parameters</a>||
<a href="/usercfg?todo=SET">Usernames</a>||
<a href="/accescfg?todo=SET">Access-Controls||
<a href="/aliascfg?todo=SET">Aliases</a>||
<a href="/virtcfg?todo=SET">VirtualDir</a>||
<a href="#htaccessfile">HTAccess</a>||
<a href="#checksel">Check Selector</a>
<p>
<table><TR>
<td><img src="/imgs/srefiltr.gif" align="middle">
<td>
<h2>
The SRE-http Configurator: Intermediate Mode (legacy) </h2>
</table>
This is the <em>legacy intermediate mode</em> <A NAME="toppage">SRE-http</A> configurator.
It allows you to modify many of SRE-http's
parameters. New users may wish to use the simpler (but somewhat less
powerful) <A HREF="/config0.htm">simple mode configurator</A>.
<blockquote>
For several reasons we highly recommend use of
the <a href="/config2b.htm">newer intermediate configurator</a>
(that uses "realm definitions") instead of
this "legacy intermediate configurator":
<ul>
<li> The use of "realms" is consistent with how other WWW software organizes
URLs
<li> The "mime-like" structure of realm definitions should be easier to work
with then the more idiosyncratic .IN files.
<li> SRE-http's intermediate configurator can be used to modify
"host-specific" versions of realm definition files.
</ul>
</blockquote>
<p>
<STRONG>Technical note:</STRONG>
<blockquote>For this configurator to work, you must have installed SRE-http as your
GoServe filter, and GoServe must be running. By default, SRE-http permits
remote configuration (provided the client has SUPERUSER privileges).
If you are very security conscious, you can disable remote configuration
(and permit configuration only from the server) -- <em> for details, see
the description of the NO_REMOTE_CONFIG parameter in INITFILT.DOC </em></blockquote>
<p>
<hr width=50>
<p>
<h2> Contents </h2>
Please choose from the following:
<ol>
<LI>You might want to peruse a documemtation file:
<ul>
<li> <a href="/SAMPLES/initfilt.doc"> SRE-http parameters description
and optimization hints </a>
<li> <a href="/SAMPLES/SREhttp.htm"> SRE-http Documentation </a>
<li> <a href="/SAMPLES/IN_FILES.doc"> Description of selector-specific parameter files </a>
</ul>
<LI> Modifying <A HREF="#initfilt">initialization parameters</A>. <em> <!-- replace variable.initfilt_file --> </em>
<LI> Add,remove or modify <A HREF="#userfile">usernames, passwords, and privileges</A>. <em><!-- replace variable.user_file --> </em>
<LI> Add, remove or modify <A HREF="#accessfile">SEL-specific access controls.</A> <em> <!-- replace variable.access_file --></em>
<LI> Add, remove or modify <a href="#aliasfile"> redirection aliases. </a> <em> <!-- replace variable.alias_file --> </em>
<LI> Add, remove or modify <a href="#virtualfile"> virtual directories. </a><em><!-- replace variable.virtual_file --></em>
<LI> Create or modify <a href="#htaccessfile"> HTACCESS files </a><em><!-- replace variable.htaccess_file --></em>
</ol>
<blockquote>Note: <em>file names</em> indicate the <em>current names</em> of the
text files that contain SRE-http parameters (or HTACCESS parameters).
Ambitious users may wish to directly edit these text files directly, without
using CONFIG2.HTM!</blockquote>
<p>
Or... would you like to <A HREF="#testurl">test how SRE-http resolves a request</A>?
<p>
<hr size=5>
<h2> <A NAME="initfilt">Modify initialization parameters.</A> </h2>
<FORM ACTION="/config2" METHOD="GET">
<strong>do you want to </strong> ..
<SELECT NAME="todo" SIZE=2>
<OPTION value="SHOW">Show SRE-http's initialization parameters
<OPTION value="SET">Modify SRE-http's initialization parameters
</SELECT>
?
<br>
<blockquote> If you want to modify host-specific parameters,
enter the host nickname:
<INPUT TYPE="text" NAME="HOST_NICKNAME" SIZE=15 MAXLENGTH=15>
<br> <em> Leave this blank if you are <b>not </b> running a multi-host
server, or if you want to modify the generic (non host-specific) parameters.</em>
</blockquote>
<p>
<INPUT TYPE="submit" VALUE="submit"> <em>Patience, it will take a few seconds
to generate the form... </em> <br>
</FORM>
<p>
<hr size=5>
<h2> <A NAME="userfile"> Modify usernames and passwords</A> </h2>
<FORM ACTION="/usercfg" METHOD="GET">
<strong>do you want to </strong> ..
<SELECT NAME="todo" SIZE=2>
<OPTION value="SHOW">Show the current set of usernames/passwords
<OPTION value="SET"> Add, delete or modify usernames/passwords.
<OPTION SELECTED > ..
</SELECT>
?
<p>
<INPUT TYPE="submit" VALUE="submit">
</form>
<p>
<hr size=5>
<h2> <A NAME="accessfile">Modify SEL-specific access control</A> </h2>
<FORM ACTION="/accescfg" METHOD="GET">
<strong>do you want to </strong> ..
<SELECT NAME="todo" SIZE=2>
<OPTION value="SHOW">Show the current set of SEL-specific access controls
<OPTION value="SET"> Add, delete or modify SEL-specific access controls
<OPTION SELECTED >..
</SELECT>
?
<p>
<INPUT TYPE="submit" VALUE="submit">
</form>
<p>
<hr size=5>
<h2> <A NAME="aliasfile">Modify redirection aliases </A></h2>
<FORM ACTION="/aliascfg" METHOD="GET">
<strong>do you want to </strong> ..
<SELECT NAME="todo" SIZE=2>
<OPTION value="SHOW">Show the current set of redirection aliases
<OPTION value="SET"> Add, delete or modify redirection aliases
<OPTION SELECTED >..
</SELECT>
?
<p>
<INPUT TYPE="submit" VALUE="submit">
</form>
<p>
<hr size=5>
<h2> <A NAME="virtualfile"> Modify virtual directories</A></h2>
<FORM ACTION="/virtcfg" METHOD="GET">
<strong>do you want to </strong>
<SELECT NAME="todo" SIZE=2>
<OPTION value="SHOW">Show the current set of virtual directories
<OPTION value="SET"> Add, delete or modify virtual directories
<OPTION SELECTED >..
</SELECT>
?
<p>
<INPUT TYPE="submit" VALUE="submit">
</form>
<hr size=5>
<h2> <A NAME="htaccessfile"> Modify HTACCESS files</A></h2>
<FORM ACTION="/htaccfg" METHOD="GET">
Enter the directory containing the HTACCESS file to create or modify:
<INPUT TYPE="text" NAME="htfile" SIZE=30 MAXLENGTH=50>
<p>
<em>Note:</em> relative directories
(with no drive letter or leading back slash) are assumed to
be subdirectories of the data directory
<!-- interpret code tmp.1=translate(datadir(),'\','/') ;
interpret.results='(which currently is <strong>: '||tmp.1||'</strong>)' -->
<p><INPUT TYPE="submit" VALUE="submit">
</form>
<hr size=15>
<h2> <A NAME="testurl"> (beta) Selector specfic info (resource privileges, aliases, etc.)</A></h2>
<FORM ACTION="/checksel" METHOD="GET">
Enter the <em>request selector</em> (the URL) to test (i.e; <code>/DIR1/INDEX.HTM</code>):
<INPUT TYPE="text" NAME="testurl" SIZE=40 MAXLENGTH=70>
<br><b>Note</b>: you can include a different servername as part of the URL<br>
For example, <code> http://foo.bar.net/dir1/index.htm </code>
<p>
<em>Optional:</em> Enter a client IP address:
<INPUT TYPE="text" NAME="testclient" SIZE=20 MAXLENGTH=30>
<p>
<em>Optional:</em> Enter a "test" username
<INPUT TYPE="text" NAME="username" SIZE=20 MAXLENGTH=30>
<em>and password </em>
<INPUT TYPE="text" NAME="password" SIZE=20 MAXLENGTH=30>
</SELECT>
<p>
<INPUT TYPE="submit" VALUE="submit">
</form>
<hr size=5>
<A HREF="#toppage">Return to top of page </A>
</body> </html>