home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
NETWORK
/
ISP
/
readme.wn
< prev
next >
Wrap
Text File
|
2009-11-06
|
6KB
|
149 lines
Version: 1.14.5
WN is compiled with GNU C v1.42 with the small subset of the TOP
OS-9 library (OS-9 v2.4/ISP v1.4). All my additions are between
#define OS9/#endif keywords.
Note: I don't fully test the implementation, only in my local
LAN environment with the following browsers:
o Windows for Workgroups 3.11
- Netscape 2.01
- Netscape 2.02
- Netscape 3.0
- Microsoft Internet Explorer 2.01
- Microsoft Internet Explorer 3.0
- WebSurfer 4.6 (16 bit)
o Unix (BSD/OS 2.1)
- Lynx Version 2-4-2. The bug: WN sends the text lines with CR
(\015) at end of line (as is standard for OS-9 comparing with
Unix's \012). Lynx doesn't replace it with space
(all other navigators do).
I don't use the virtual-host option at all, so it is *fully*
untested (even uncompiled).
Very hard trouble for me was the EOF-character. HTTP standard says,
that alll strings should end with CRLF or just LF character, where
CR is ASCII 13 & LF is ASCII 10. In Unix '\n' is ASCII 10 vs OS-9 '\l',
so I must change all ocurrences of the '\n' in the sources with
'\l' by hand.
In this release I don't preserve the original directories, so,
if you need the full package, download it from the WN site by yourself.
The OSK directories are:
o WN the main directory (HTTPD server)
o WNDEX utility to create index-files
o DOCS copy of the original's WN DOCS directory, but with my own
CGI-scripts (written in C -> see /COUNTER), new images and so on
o DEFS&LIB small OS-9/Unix library
o AUTHWN the simplest program to use password-protected pages
(but I don't crypt the password file at all)
o CMDS executables
o CGI_BIN CGI CMDS directory
I compile WN in the 'inetd'-mode, so there are two small programms
in CMDS (inetd, inetdc) I wrote to emulate the UNIX-inetd capability.
(I heard, that Microware announce ISP v2.?? includes the full
support of this capability, but only for OS-9 v3.0).
To start server, use the following steps:
load -d <path>/inetd
load -d <path>/inetdc
load -d <path>/wn
inetd <port> wn <wn options>, like this:
inetd 80 wn -a 0 -d -v ncsa -l log.log -L log.err /dd/HTML<>>>/nil&
and have fun!
Note: because the path to the data files is compiled into WN
(and you don't recompile it), you *must* set the data directory
in the command line to WN (see docs), and may be use new OSK
related options -D & -I (see below). Also, you can set the full
hostname (host.domain) with -h option, because ISP doesn't support
DNS. Because WN works under User.Group=254.254 (for security
purposes) all files in your data directories must have "public-read"
bit set (or must be owned by 254.254).
P.S.
WN widely uses 'perl'-scripts, so some examples wouldn't work.
Using mshell don't resolve the problem, because Microware's mshell
can't get redirected input (@#$%^&!). i.e, mshell script</file
doesn't work (I don't know, why). I rewrote some in C, but not all.
---------- Changes to OSK version ----------
From 22-Jul-96:
o CGI_BIN directory is now "CGI_BIN" instead of "CGI"
o User home directory is now "PUBLIC_HTML" instead of "PUBLIC"
o Changed all ocurrences of \l to \012 to be more portable
(thanks to Martijn Schipper)
o Changed all occurences of '$' in filenames to '_'
o Changed all /h0/... to /dd/.. in ../config.h
o Removed some unrequired translations \n-->\l (translation
required only in HTTP header's lines)
o Added debug/log file locking in write_debug() & log_logfile()
o Bug in wndex fixed - 'attr -pr' to index.html file
o The CGI-HTML library is now the part of the OSK package
(see OSK/CGIHTML/DOCS/*)
This version supports file-upload forms (z.B, /EXAMPLES/upload.html),
only with Netscape version 2.x and above.
o strstr() function is now in the os9.l library to be CGIHTML happy
(#undef NEED_STRSTR in ../config.h)
o The file 'mime.types' is in $ROOT/CONF directory (a la APACHE server)
--
o config.h - #define NEED_PUTENV/NEED_STRFTIME only in main section
o CGI-HTML library: change all '-' to '_' in #include's statements for all
sources
--
o WN version now: 1.14.6
o Added DNS-lookup with resolv.l library
(need new in.h - see DEFS/NETINET/in.h near the end of file. These
macroses make the GNU C handle some functions in other way).
inet_ntoa() is removed from util.c, now used the special thunk
function from resolv.l. It is compiled with Microware's old
compiler (v3.2), so you can use it with UCC in backward compatibility
mode (you need the new netdb.h - see DNS/DEFS).
o Added RFC931 support for client identification (at now, only Unix clients
support this feature). If you want it, just uncomment the "#define
RFC931_TIMEOUT" in config.h
o Tested TILDE_TABLE option to handle user directories in other way
(compiled as default)
o Compiled with GNU C optimizations (-O), so the binaries are only
about 75k ;-)
--
o DNS sources moved to separate OSK BIND package
--
o WN version now 1.16.1
o Bug in MW's CIO module (we can't use putenv()/getenv() functions)
(so don't compile with -i option!)
--
o WN version now 1.16.4
-- April 14, 1997
o CGIHTML library moved to separate package, compiled under
Ultra C
o Binaries are compiled without DNS resolving and RFC931 support
-- May 7, 1997
o WN version now 1.16.7
o New options in OS-9 version added (to help people to use
precompiled binaries)
wn:
-D <temp dir name> (/dd/tmp as default)
-I <tilde table file path> (/dd/c/unid/wn/osk/conf/wn.dir.table)
See docs for details.
wndex:
-M <mime types file path> (/dd/c/unid/wn/osk/conf/mime.types)
--
Ilja V.Levinson, Russia
e-mail: lev@odusv.oduurl.ru