                      NeoWebScript Version 3.2.1

Installation
------------

To build and install a new version, execute the following commands in order:
	./configure --prefix=/usr/local/apache
	make
	make install

This will build the Apache-1.3.6 webserver, Tcl8.1.1-lite (enough Tcl to run
the NeoWebScript extensions), the NeoWebScript modules, and installs
everything into /usr/local/apache/.  This directory must exist and you
must have write access to it (or you must have write access to /usr/local).


The best way to do this is:
    % su
    # mkdir /usr/local/apache
    # chown (you) /usr/local/apache
    # exit
    % ./configure --prefix=/usr/local/apache
    % make
    % make install

Building TK
-----------
    By default, NeoWebScript comes with the necesary files to build the TK
Toolkit extension to TCL.  Also by default, these are not built when the
webserver is built as they are not needed for the server.  You can build TK
with the server by specifying the --with-tk option to the configure script.

	./configure --prefix=/usr/local/apache --with-tk


** SPECIAL NOTE FOR BUILDING UNDER SOLARIS **

    Solaris seems to have problems loading as a shared module, so it is
best to link mod_neoscript statically with Apache rather than as a DSO.
If you're building under Solaris, you should specify the --link-statically
configure option.  So, your configure line would look like:

    ./configure --prefix=/usr/local/apache --link-statically


    Once the server is installed, the NeoWebScript install will modify the
httpd.conf to add the NeoWebScript directives to the server.  These will be
appened to the bottom of the file.  By default, the directives are all
commented out.  In order to enable your NeoWebScript server for handling
NeoWebScript code, you need to uncomment the two directives that read:

    #AddType text/html .nhtml .nws
    #AddHandler neo-server-parsed .nhtml .nws


    By default, NeoWebScript sets up its server on port 8080.  This can be
changed in the httpd.conf via the "Port" directive.  The line will look
something like this:

    Port 8080

    Just change this to:

    Port 80

    To run it on the standard webserver port.  If you don't want to change
the port, you can look at your server by going to:

    http://www.yourserver.com:8080/

    This tells your web browser to go to port 8080 of the server, not the
standard port 80.
