Home » Archimedes archive » Acorn User » AU 1997-Xmas B.adf » PD » NetPlex/!Netplex/!Help/HTML/10-confi

NetPlex/!Netplex/!Help/HTML/10-confi

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1997-Xmas B.adf » PD
Filename: NetPlex/!Netplex/!Help/HTML/10-confi
Read OK:
File size: 098C bytes
Load address: 0000
Exec address: 0000
File contents
<HTML>

<HEAD>
<TITLE>Netplex - Configuration files</TITLE>
</HEAD>

<BODY TEXT="#000000" BGCOLOR="#ffffff" LINK="#004499" VLINK="#00224c" ALINK="#00cc00">

<H1><IMG SRC="images/world" ALIGN=ABSMIDDLE>  Configuration files</H1>
<HR>

<P><IMG SRC="images/file_143" WIDTH=34 HEIGHT=34 ALIGN=LEFT>Netplex recognises a type of file called a <I>Configuration file</I> which provides access to advanced functions that would otherwise require a CGI program or similar magic to implement.  The files are simply plain text with a defined structure, filetyped to 'NetpxCfg' (&amp;143).</P>

<P>Since Configuration files are used for most of the advanced functions of Netplex, they are documented here rather than repeatedly explaining the format.</P>

<P>At present, there are four variants of Configuration files, they are:</P>

<P>
<UL>
<LI><A HREF="11-redir">Redirection files</A>
<LI><A HREF="12-auth#cfg-realms"><I>Realms</I> file</A>
<LI><A HREF="12-auth#cfg-auth">Authorisation files</A>
<LI><A HREF="14-image#cfg-imagemaps"><I>Imagemaps</I> file</A>
</UL>
</P>

<P>The purpose of each of these is explained in the appropriate section.  However, all Configuration files share a common format :</P>

<P>
<OL>
<LI>Any number of, or no, comment lines prefixed with the '#' character,
<LI>An identifier line,
<LI>Purpose-specific data.
</OL>
</P>

<P>For example :</P>

<P><PRE>
# An example Configuration file
#
Example
this:that:the:other
</PRE></P>

<P>This has two comment lines, an identifier line containing 'Example' and a line of specific data, the use of which depends on what the file's function is.</P>

<P>Configuration files are treated as special entities by the server, they will never be passed to clients as long as they're correctly filetyped.  This is especially important for Client Authentication where the security of the password files must always be maintained.  You <B>must</B> correctly filetype Configuration files if you want them to remain private.  Once filetyped correctly, then Netplex will not 'see' the Configuration files and they will be reported as being 'Not Found'.</P>

<HR>

<P><CENTER>
<A HREF="05-info"><IMG SRC="images/buttons/bak" WIDTH=32 HEIGHT=32 BORDER=0 ALT="[ Previous ]"></A>
<A HREF="index"><IMG SRC="images/buttons/up" WIDTH=32 HEIGHT=32 BORDER=0 ALT="[ Index ]"></A>
<A HREF="11-redir"><IMG SRC="images/buttons/fwd" WIDTH=32 HEIGHT=32 BORDER=0 ALT="[ Next ]"></A>
</CENTER></P>

</BODY>

</HTML>
00000000  3c 48 54 4d 4c 3e 0a 0a  3c 48 45 41 44 3e 0a 3c  |<HTML>..<HEAD>.<|
00000010  54 49 54 4c 45 3e 4e 65  74 70 6c 65 78 20 2d 20  |TITLE>Netplex - |
00000020  43 6f 6e 66 69 67 75 72  61 74 69 6f 6e 20 66 69  |Configuration fi|
00000030  6c 65 73 3c 2f 54 49 54  4c 45 3e 0a 3c 2f 48 45  |les</TITLE>.</HE|
00000040  41 44 3e 0a 0a 3c 42 4f  44 59 20 54 45 58 54 3d  |AD>..<BODY TEXT=|
00000050  22 23 30 30 30 30 30 30  22 20 42 47 43 4f 4c 4f  |"#000000" BGCOLO|
00000060  52 3d 22 23 66 66 66 66  66 66 22 20 4c 49 4e 4b  |R="#ffffff" LINK|
00000070  3d 22 23 30 30 34 34 39  39 22 20 56 4c 49 4e 4b  |="#004499" VLINK|
00000080  3d 22 23 30 30 32 32 34  63 22 20 41 4c 49 4e 4b  |="#00224c" ALINK|
00000090  3d 22 23 30 30 63 63 30  30 22 3e 0a 0a 3c 48 31  |="#00cc00">..<H1|
000000a0  3e 3c 49 4d 47 20 53 52  43 3d 22 69 6d 61 67 65  |><IMG SRC="image|
000000b0  73 2f 77 6f 72 6c 64 22  20 41 4c 49 47 4e 3d 41  |s/world" ALIGN=A|
000000c0  42 53 4d 49 44 44 4c 45  3e 20 20 43 6f 6e 66 69  |BSMIDDLE>  Confi|
000000d0  67 75 72 61 74 69 6f 6e  20 66 69 6c 65 73 3c 2f  |guration files</|
000000e0  48 31 3e 0a 3c 48 52 3e  0a 0a 3c 50 3e 3c 49 4d  |H1>.<HR>..<P><IM|
000000f0  47 20 53 52 43 3d 22 69  6d 61 67 65 73 2f 66 69  |G SRC="images/fi|
00000100  6c 65 5f 31 34 33 22 20  57 49 44 54 48 3d 33 34  |le_143" WIDTH=34|
00000110  20 48 45 49 47 48 54 3d  33 34 20 41 4c 49 47 4e  | HEIGHT=34 ALIGN|
00000120  3d 4c 45 46 54 3e 4e 65  74 70 6c 65 78 20 72 65  |=LEFT>Netplex re|
00000130  63 6f 67 6e 69 73 65 73  20 61 20 74 79 70 65 20  |cognises a type |
00000140  6f 66 20 66 69 6c 65 20  63 61 6c 6c 65 64 20 61  |of file called a|
00000150  20 3c 49 3e 43 6f 6e 66  69 67 75 72 61 74 69 6f  | <I>Configuratio|
00000160  6e 20 66 69 6c 65 3c 2f  49 3e 20 77 68 69 63 68  |n file</I> which|
00000170  20 70 72 6f 76 69 64 65  73 20 61 63 63 65 73 73  | provides access|
00000180  20 74 6f 20 61 64 76 61  6e 63 65 64 20 66 75 6e  | to advanced fun|
00000190  63 74 69 6f 6e 73 20 74  68 61 74 20 77 6f 75 6c  |ctions that woul|
000001a0  64 20 6f 74 68 65 72 77  69 73 65 20 72 65 71 75  |d otherwise requ|
000001b0  69 72 65 20 61 20 43 47  49 20 70 72 6f 67 72 61  |ire a CGI progra|
000001c0  6d 20 6f 72 20 73 69 6d  69 6c 61 72 20 6d 61 67  |m or similar mag|
000001d0  69 63 20 74 6f 20 69 6d  70 6c 65 6d 65 6e 74 2e  |ic to implement.|
000001e0  20 20 54 68 65 20 66 69  6c 65 73 20 61 72 65 20  |  The files are |
000001f0  73 69 6d 70 6c 79 20 70  6c 61 69 6e 20 74 65 78  |simply plain tex|
00000200  74 20 77 69 74 68 20 61  20 64 65 66 69 6e 65 64  |t with a defined|
00000210  20 73 74 72 75 63 74 75  72 65 2c 20 66 69 6c 65  | structure, file|
00000220  74 79 70 65 64 20 74 6f  20 27 4e 65 74 70 78 43  |typed to 'NetpxC|
00000230  66 67 27 20 28 26 61 6d  70 3b 31 34 33 29 2e 3c  |fg' (&amp;143).<|
00000240  2f 50 3e 0a 0a 3c 50 3e  53 69 6e 63 65 20 43 6f  |/P>..<P>Since Co|
00000250  6e 66 69 67 75 72 61 74  69 6f 6e 20 66 69 6c 65  |nfiguration file|
00000260  73 20 61 72 65 20 75 73  65 64 20 66 6f 72 20 6d  |s are used for m|
00000270  6f 73 74 20 6f 66 20 74  68 65 20 61 64 76 61 6e  |ost of the advan|
00000280  63 65 64 20 66 75 6e 63  74 69 6f 6e 73 20 6f 66  |ced functions of|
00000290  20 4e 65 74 70 6c 65 78  2c 20 74 68 65 79 20 61  | Netplex, they a|
000002a0  72 65 20 64 6f 63 75 6d  65 6e 74 65 64 20 68 65  |re documented he|
000002b0  72 65 20 72 61 74 68 65  72 20 74 68 61 6e 20 72  |re rather than r|
000002c0  65 70 65 61 74 65 64 6c  79 20 65 78 70 6c 61 69  |epeatedly explai|
000002d0  6e 69 6e 67 20 74 68 65  20 66 6f 72 6d 61 74 2e  |ning the format.|
000002e0  3c 2f 50 3e 0a 0a 3c 50  3e 41 74 20 70 72 65 73  |</P>..<P>At pres|
000002f0  65 6e 74 2c 20 74 68 65  72 65 20 61 72 65 20 66  |ent, there are f|
00000300  6f 75 72 20 76 61 72 69  61 6e 74 73 20 6f 66 20  |our variants of |
00000310  43 6f 6e 66 69 67 75 72  61 74 69 6f 6e 20 66 69  |Configuration fi|
00000320  6c 65 73 2c 20 74 68 65  79 20 61 72 65 3a 3c 2f  |les, they are:</|
00000330  50 3e 0a 0a 3c 50 3e 0a  3c 55 4c 3e 0a 3c 4c 49  |P>..<P>.<UL>.<LI|
00000340  3e 3c 41 20 48 52 45 46  3d 22 31 31 2d 72 65 64  |><A HREF="11-red|
00000350  69 72 22 3e 52 65 64 69  72 65 63 74 69 6f 6e 20  |ir">Redirection |
00000360  66 69 6c 65 73 3c 2f 41  3e 0a 3c 4c 49 3e 3c 41  |files</A>.<LI><A|
00000370  20 48 52 45 46 3d 22 31  32 2d 61 75 74 68 23 63  | HREF="12-auth#c|
00000380  66 67 2d 72 65 61 6c 6d  73 22 3e 3c 49 3e 52 65  |fg-realms"><I>Re|
00000390  61 6c 6d 73 3c 2f 49 3e  20 66 69 6c 65 3c 2f 41  |alms</I> file</A|
000003a0  3e 0a 3c 4c 49 3e 3c 41  20 48 52 45 46 3d 22 31  |>.<LI><A HREF="1|
000003b0  32 2d 61 75 74 68 23 63  66 67 2d 61 75 74 68 22  |2-auth#cfg-auth"|
000003c0  3e 41 75 74 68 6f 72 69  73 61 74 69 6f 6e 20 66  |>Authorisation f|
000003d0  69 6c 65 73 3c 2f 41 3e  0a 3c 4c 49 3e 3c 41 20  |iles</A>.<LI><A |
000003e0  48 52 45 46 3d 22 31 34  2d 69 6d 61 67 65 23 63  |HREF="14-image#c|
000003f0  66 67 2d 69 6d 61 67 65  6d 61 70 73 22 3e 3c 49  |fg-imagemaps"><I|
00000400  3e 49 6d 61 67 65 6d 61  70 73 3c 2f 49 3e 20 66  |>Imagemaps</I> f|
00000410  69 6c 65 3c 2f 41 3e 0a  3c 2f 55 4c 3e 0a 3c 2f  |ile</A>.</UL>.</|
00000420  50 3e 0a 0a 3c 50 3e 54  68 65 20 70 75 72 70 6f  |P>..<P>The purpo|
00000430  73 65 20 6f 66 20 65 61  63 68 20 6f 66 20 74 68  |se of each of th|
00000440  65 73 65 20 69 73 20 65  78 70 6c 61 69 6e 65 64  |ese is explained|
00000450  20 69 6e 20 74 68 65 20  61 70 70 72 6f 70 72 69  | in the appropri|
00000460  61 74 65 20 73 65 63 74  69 6f 6e 2e 20 20 48 6f  |ate section.  Ho|
00000470  77 65 76 65 72 2c 20 61  6c 6c 20 43 6f 6e 66 69  |wever, all Confi|
00000480  67 75 72 61 74 69 6f 6e  20 66 69 6c 65 73 20 73  |guration files s|
00000490  68 61 72 65 20 61 20 63  6f 6d 6d 6f 6e 20 66 6f  |hare a common fo|
000004a0  72 6d 61 74 20 3a 3c 2f  50 3e 0a 0a 3c 50 3e 0a  |rmat :</P>..<P>.|
000004b0  3c 4f 4c 3e 0a 3c 4c 49  3e 41 6e 79 20 6e 75 6d  |<OL>.<LI>Any num|
000004c0  62 65 72 20 6f 66 2c 20  6f 72 20 6e 6f 2c 20 63  |ber of, or no, c|
000004d0  6f 6d 6d 65 6e 74 20 6c  69 6e 65 73 20 70 72 65  |omment lines pre|
000004e0  66 69 78 65 64 20 77 69  74 68 20 74 68 65 20 27  |fixed with the '|
000004f0  23 27 20 63 68 61 72 61  63 74 65 72 2c 0a 3c 4c  |#' character,.<L|
00000500  49 3e 41 6e 20 69 64 65  6e 74 69 66 69 65 72 20  |I>An identifier |
00000510  6c 69 6e 65 2c 0a 3c 4c  49 3e 50 75 72 70 6f 73  |line,.<LI>Purpos|
00000520  65 2d 73 70 65 63 69 66  69 63 20 64 61 74 61 2e  |e-specific data.|
00000530  0a 3c 2f 4f 4c 3e 0a 3c  2f 50 3e 0a 0a 3c 50 3e  |.</OL>.</P>..<P>|
00000540  46 6f 72 20 65 78 61 6d  70 6c 65 20 3a 3c 2f 50  |For example :</P|
00000550  3e 0a 0a 3c 50 3e 3c 50  52 45 3e 0a 23 20 41 6e  |>..<P><PRE>.# An|
00000560  20 65 78 61 6d 70 6c 65  20 43 6f 6e 66 69 67 75  | example Configu|
00000570  72 61 74 69 6f 6e 20 66  69 6c 65 0a 23 0a 45 78  |ration file.#.Ex|
00000580  61 6d 70 6c 65 0a 74 68  69 73 3a 74 68 61 74 3a  |ample.this:that:|
00000590  74 68 65 3a 6f 74 68 65  72 0a 3c 2f 50 52 45 3e  |the:other.</PRE>|
000005a0  3c 2f 50 3e 0a 0a 3c 50  3e 54 68 69 73 20 68 61  |</P>..<P>This ha|
000005b0  73 20 74 77 6f 20 63 6f  6d 6d 65 6e 74 20 6c 69  |s two comment li|
000005c0  6e 65 73 2c 20 61 6e 20  69 64 65 6e 74 69 66 69  |nes, an identifi|
000005d0  65 72 20 6c 69 6e 65 20  63 6f 6e 74 61 69 6e 69  |er line containi|
000005e0  6e 67 20 27 45 78 61 6d  70 6c 65 27 20 61 6e 64  |ng 'Example' and|
000005f0  20 61 20 6c 69 6e 65 20  6f 66 20 73 70 65 63 69  | a line of speci|
00000600  66 69 63 20 64 61 74 61  2c 20 74 68 65 20 75 73  |fic data, the us|
00000610  65 20 6f 66 20 77 68 69  63 68 20 64 65 70 65 6e  |e of which depen|
00000620  64 73 20 6f 6e 20 77 68  61 74 20 74 68 65 20 66  |ds on what the f|
00000630  69 6c 65 27 73 20 66 75  6e 63 74 69 6f 6e 20 69  |ile's function i|
00000640  73 2e 3c 2f 50 3e 0a 0a  3c 50 3e 43 6f 6e 66 69  |s.</P>..<P>Confi|
00000650  67 75 72 61 74 69 6f 6e  20 66 69 6c 65 73 20 61  |guration files a|
00000660  72 65 20 74 72 65 61 74  65 64 20 61 73 20 73 70  |re treated as sp|
00000670  65 63 69 61 6c 20 65 6e  74 69 74 69 65 73 20 62  |ecial entities b|
00000680  79 20 74 68 65 20 73 65  72 76 65 72 2c 20 74 68  |y the server, th|
00000690  65 79 20 77 69 6c 6c 20  6e 65 76 65 72 20 62 65  |ey will never be|
000006a0  20 70 61 73 73 65 64 20  74 6f 20 63 6c 69 65 6e  | passed to clien|
000006b0  74 73 20 61 73 20 6c 6f  6e 67 20 61 73 20 74 68  |ts as long as th|
000006c0  65 79 27 72 65 20 63 6f  72 72 65 63 74 6c 79 20  |ey're correctly |
000006d0  66 69 6c 65 74 79 70 65  64 2e 20 20 54 68 69 73  |filetyped.  This|
000006e0  20 69 73 20 65 73 70 65  63 69 61 6c 6c 79 20 69  | is especially i|
000006f0  6d 70 6f 72 74 61 6e 74  20 66 6f 72 20 43 6c 69  |mportant for Cli|
00000700  65 6e 74 20 41 75 74 68  65 6e 74 69 63 61 74 69  |ent Authenticati|
00000710  6f 6e 20 77 68 65 72 65  20 74 68 65 20 73 65 63  |on where the sec|
00000720  75 72 69 74 79 20 6f 66  20 74 68 65 20 70 61 73  |urity of the pas|
00000730  73 77 6f 72 64 20 66 69  6c 65 73 20 6d 75 73 74  |sword files must|
00000740  20 61 6c 77 61 79 73 20  62 65 20 6d 61 69 6e 74  | always be maint|
00000750  61 69 6e 65 64 2e 20 20  59 6f 75 20 3c 42 3e 6d  |ained.  You <B>m|
00000760  75 73 74 3c 2f 42 3e 20  63 6f 72 72 65 63 74 6c  |ust</B> correctl|
00000770  79 20 66 69 6c 65 74 79  70 65 20 43 6f 6e 66 69  |y filetype Confi|
00000780  67 75 72 61 74 69 6f 6e  20 66 69 6c 65 73 20 69  |guration files i|
00000790  66 20 79 6f 75 20 77 61  6e 74 20 74 68 65 6d 20  |f you want them |
000007a0  74 6f 20 72 65 6d 61 69  6e 20 70 72 69 76 61 74  |to remain privat|
000007b0  65 2e 20 20 4f 6e 63 65  20 66 69 6c 65 74 79 70  |e.  Once filetyp|
000007c0  65 64 20 63 6f 72 72 65  63 74 6c 79 2c 20 74 68  |ed correctly, th|
000007d0  65 6e 20 4e 65 74 70 6c  65 78 20 77 69 6c 6c 20  |en Netplex will |
000007e0  6e 6f 74 20 27 73 65 65  27 20 74 68 65 20 43 6f  |not 'see' the Co|
000007f0  6e 66 69 67 75 72 61 74  69 6f 6e 20 66 69 6c 65  |nfiguration file|
00000800  73 20 61 6e 64 20 74 68  65 79 20 77 69 6c 6c 20  |s and they will |
00000810  62 65 20 72 65 70 6f 72  74 65 64 20 61 73 20 62  |be reported as b|
00000820  65 69 6e 67 20 27 4e 6f  74 20 46 6f 75 6e 64 27  |eing 'Not Found'|
00000830  2e 3c 2f 50 3e 0a 0a 3c  48 52 3e 0a 0a 3c 50 3e  |.</P>..<HR>..<P>|
00000840  3c 43 45 4e 54 45 52 3e  0a 3c 41 20 48 52 45 46  |<CENTER>.<A HREF|
00000850  3d 22 30 35 2d 69 6e 66  6f 22 3e 3c 49 4d 47 20  |="05-info"><IMG |
00000860  53 52 43 3d 22 69 6d 61  67 65 73 2f 62 75 74 74  |SRC="images/butt|
00000870  6f 6e 73 2f 62 61 6b 22  20 57 49 44 54 48 3d 33  |ons/bak" WIDTH=3|
00000880  32 20 48 45 49 47 48 54  3d 33 32 20 42 4f 52 44  |2 HEIGHT=32 BORD|
00000890  45 52 3d 30 20 41 4c 54  3d 22 5b 20 50 72 65 76  |ER=0 ALT="[ Prev|
000008a0  69 6f 75 73 20 5d 22 3e  3c 2f 41 3e 0a 3c 41 20  |ious ]"></A>.<A |
000008b0  48 52 45 46 3d 22 69 6e  64 65 78 22 3e 3c 49 4d  |HREF="index"><IM|
000008c0  47 20 53 52 43 3d 22 69  6d 61 67 65 73 2f 62 75  |G SRC="images/bu|
000008d0  74 74 6f 6e 73 2f 75 70  22 20 57 49 44 54 48 3d  |ttons/up" WIDTH=|
000008e0  33 32 20 48 45 49 47 48  54 3d 33 32 20 42 4f 52  |32 HEIGHT=32 BOR|
000008f0  44 45 52 3d 30 20 41 4c  54 3d 22 5b 20 49 6e 64  |DER=0 ALT="[ Ind|
00000900  65 78 20 5d 22 3e 3c 2f  41 3e 0a 3c 41 20 48 52  |ex ]"></A>.<A HR|
00000910  45 46 3d 22 31 31 2d 72  65 64 69 72 22 3e 3c 49  |EF="11-redir"><I|
00000920  4d 47 20 53 52 43 3d 22  69 6d 61 67 65 73 2f 62  |MG SRC="images/b|
00000930  75 74 74 6f 6e 73 2f 66  77 64 22 20 57 49 44 54  |uttons/fwd" WIDT|
00000940  48 3d 33 32 20 48 45 49  47 48 54 3d 33 32 20 42  |H=32 HEIGHT=32 B|
00000950  4f 52 44 45 52 3d 30 20  41 4c 54 3d 22 5b 20 4e  |ORDER=0 ALT="[ N|
00000960  65 78 74 20 5d 22 3e 3c  2f 41 3e 0a 3c 2f 43 45  |ext ]"></A>.</CE|
00000970  4e 54 45 52 3e 3c 2f 50  3e 0a 0a 3c 2f 42 4f 44  |NTER></P>..</BOD|
00000980  59 3e 0a 0a 3c 2f 48 54  4d 4c 3e 0a              |Y>..</HTML>.|
0000098c