home *** CD-ROM | disk | FTP | other *** search
- Installation and Configuration Guide
-
- A chapter devoted to the steps necessary to install and
- configure ScriptEase:WSE on your Web server. Covers all
- tested platforms and servers.
-
- Installing ScriptEase:WebServer Edition
-
- Installation Files
-
- On all platforms, ScriptEase:WSE is installed using the SESETUP
- program. If you're installing from floppy disks, SESETUP will
- be found on the first disk and can be executed directly from
- there. If you're installing from a download compressed file
- (e.g.: zip, tar), create a temporary directory and uncompress
- all of the files into that temporary directory.
-
- The files on your installation disks or in the installation
- directory will be similar to these (not that some operating
- systems will not have the ".EXE" extension for executable
- files):
-
- SESETUP.EXE - The installation program
- SEWSECFG.EXE - Configuration program (used after
- installation)
- LICENSE.DOC - Software license agreement
- SEWSE1.BIN, SEWSE2.BIN... - Executables and samples in bundled
- form
-
- If you are using the WebMaster version, you will also find
- these additional files used for remote development and
- debugging:
-
- SEDBGW16.EXE - 16-bit Windows version of IDE
- SEDBGW32.EXE - 32-bit Windows version of IDE
- SEDBG.HLP - Help file for IDE
- SEDBXW16.EXE - Debugging extension (proxy) for 16-bit Windows
- SEDBXW16.EXE - Debugging extension (proxy) for 32-bit Windows
-
- Note that the installation program (SESETUP) will not copy any
- of these files except for those in the SEWSE?.BIN files. All of
- the other files are used for administering or debugging
- ScriptEase:WSE and you can keep these files on the disk or copy
- them to a more useful location.
-
- Installation Instructions: SESETUP
-
- To install ScriptEase:WSE on your system, you must first
- determine where your Web server requires binary executables to
- be placed. If this is your own site, this is straight forward
- and configurable. If you are using an Independent Service
- Provider (ISP) it may require getting to know your local
- WebMaster. Some ISPs are uncomfortable when you try to install
- your own executables. Most commercial Web sites from an ISP
- give you cgi-bin access. If you have any trouble please contact
- your ISP for assistance.
-
- Once you have located the bin directory on your Web server
- (often this is called cgi-bin, although it can have any name)
- you will need to install the ScriptEase:WSE files. The SESETUP
- program copies all of the files to your server automatically.
- Note that SESETUP must be executed from the server (or from a
- remote shell on the server) and not from a web browser.
- SESETUP runs in a slightly different form on all operating
- systems. But the questions that must be answered are the same
- across platforms. This chapter will use the 32-bit Windows
- version as an example.
-
- When you run SESETUP, you will first see a licensing agreement
- to read and accept, and then will be questions about these
- fields:
-
- Local-Path of BIN/Executable: Enter the full path name of
- the directory to place ScriptEase:WSE executables. SESETUP
- will not create this directory and so it must already exist.
- Most web servers are already pre-configured with a path for
- placing script executables. On many systems this directory
- has the name "cgi-bin". On systems supporting the Win-CGI
- there may be a directory names "wcgi-bin" for placing
- Win-CGI scripts, and "cgi-bin" for placing standard CGI
- scripts; ScriptEase:WSE will support either interface
- (remember which you chose in installation for the following
- configuration settings).
-
- URL of BIN/Executable: Enter the full URL of the path
- described above in Local-Path. Most web servers have a
- configuration program for mapping physical directories to
- URLs. Consult your webserver configuration program for
- determining the URL for the BIN/Executable directory.
-
- Local path for sample files: Enter a path (SESETUP will
- create the path if it doesn't already exist) where SESETUP
- will copy the many ScriptEase:WSE sample scripts. This must
- be a directory within a path that your WebServer is
- configured to have available for web pages. A good place to
- put this scripts is just below the directory where you have
- a home page. These directories will be created if they don't
- already exist.
-
- URL of that sample directory: Enter the URL needed to access
- that sample directory. For example, if the your homepage is
- local path C:\web and its URL is http://www.mysite.com/ and
- if your local sample path was C:\web\sewse then the URL for
- the sample path is http://www.mysite.com/sewse.
-
- Local path for data files: Enter a path that the
- ScriptEase:WSE samples are free to write data into. This can
- be the same directory as the local path for sample files.
- You may want to specify a different directory here if you
- are running a system with potential security problems, such
- as a multi-user UNIX system with ftp and telnet
- capabilities. These directories will be created if they
- don't already exist.
-
- Use long filenames (.html instead of .htm): The
- ScriptEase:WSE sample files can be copied using the .htm or
- .html extension. The longer name is standard on must
- UNIX-type systems. If your system does not support long
- filename (e.g., Win-16 or OS/2 on a FAT partition) then
- specify the shorter name.
-
- After selecting these responses, SESETUP will copy all of the
- sample files onto your server system. Finally, SESETUP will
- remind you of the URL to specify in any browser to view the
- sample pages; remember this URL (e.g.
- http://www.mysite.com/sewse/sewse.html).
-
- When SESETUP is finished, it will automatically start the
- configuration program (SEWSECFG).
-
- Configuration Instructions: SEWSECFG
-
- SEWSECFG is the program to configure ScriptEase:WebServer
- addition. SEWSECFG will be executed, and most fields will be
- pre-filled with default values automatically after the
- installation program (SESETUP) is run. But SEWSECFG can be
- executed again any time after installation.
-
- SEWSECFG input varies between operating system, but the type of
- input it uses is the same across all system. These explanation
- will apply to all version of SEWSECFG:
-
- Password (WebMaster version only): Enter a password to be
- used when remote-debugging ScriptEase:WSE. This password
- will prevent other users from getting access to the powerful
- features and command that the debugger will let you execute
- directly on the server from a remote location. If this field
- is left blank then there will be no password.
-
- SecurePath: Enter one or more paths from which
- ScriptEase:WebServer Edition will be permitted to execute
- .CMM scripts. ScriptEase:WSE will only permit scripts to be
- executed if they are contained within the tree described by
- this path. More than one path can be specified here.
-
- CmmPath: Enter the default path or paths where ScriptEase:WSE
- will automatically search for scripts, #include, and #link
- files. In the above example are the two scripts the SESETUP
- may have created, separated by a semi-colon (in UNIX it
- would be a colon, and a carriage-return for the Macintosh).
-
- WinCGI (windows only): Select this item if the Executable/BIN
- directory you copy SEWSE.EXE or SEWSEDB.EXE to is configured
- to use the Win-CGI protocol instead of the standard CGI
- protocol. Note that this option is only available for Win16
- and Win32 (not including ISAPI or NSAPI) versions of
- ScriptEase:WebServer Edition.
-
- After this data has been entered, the SEWSE executable will be
- stamped (overwritten) with this new configuration information.
-
- Un-Installing (Removing) ScriptEase:WebServer Edition
-
- ScriptEase:WebServer Edition does not modify any existing
- system files. So to remove ScriptEase:WSE you only need to
- delete the files that the installer copied to your disk. These
- file will be the SEWSE*.* files that SESETUP copied to the
- BIN/Executable directory (c:\web\cgi-bin in our example) and
- the sample and data files contained in the paths specified in
- SESETUP (c:\web\sewse and c:\web\sewsedat in our example). All
- that is required to uninstall ScriptEase:WSE is to delete these
- executables and the directory trees created.
-
- Testing Installation and Configuration
-
- After installation verify that the main sample page was
- installed correctly by viewing it from any browser using the
- URL and names specified when running SESETUP. From any browser
- enter the URL for the SEWSE.HTML sample page. In our example
- this would be http://www.mysite.com/sewse/sewse.htm. If this
- page does not show (it shows "ScriptEase" in large letters at
- the top) then verify that the server is running, that the URL
- specified here matches the one you defined in SESETUP, and that
- the URL defined in SESETUP matches the sample path defined in
- SESETUP. If there was an error in SESETUP then delete then
- uninstall SE:WSE (see previous section) and run SESETUP again.
-
- The sample page contains very many scripts to demonstrate the
- use of ScriptEase:WebServer Edition. The first script to try
- from your browser is the "Verify" script found just below the
- "Miscellaneous" header. "Verify" runs ScriptEase:WSE with no
- parameters. You should get text back looking like this:
-
- You have executed ScriptEase: Web Server Edition (SEWSE 3.0
- Standard version) with no parameters. To learn about
- ScriptEase visit Nombas
-
- If this text does not show then verify that the URL entered is
- the one you specified for the BIN/Executable URL in SESETUP and
- the BIN/Executable path in SESETUP matches that URL.
-
- The final script to test configuration is just below "Verify",
- and is "Show CGI Input server fields". Click on this URL to
- verify that all of the server parameters are returned and
- available to ScriptEase:WebServer Edition.
-
- Now try all the examples. They're yours to modify, learn from,
- and to play with. Have fun.
-
- Specific Installation Instructions
-
- ** Folkweb **
-
- Check FolkWeb's control panel for the directories in which to place
- CGI programs and the path for the homepages. FolkWeb can have problems
- locating scripts if the "cgi-bin" name is used. If this is a problem
- then select "cgibin" instead.
-
- ** IBM Internet Connection Server **
-
- No problems reported with IBM Internet Connection Server
-
- ** Microsoft IIS (Internet Information Server) **
-
- This server supports both the ISAPI and the CGI interface. No
- problems reported with this server, although there have been
- reports of larger scripts running slowly on ISAPI--we're looking
- into this problem.
-
- ** Netscape Commerce Server **
-
- This server supprts CGI and Win-CGI interfaces. No problems reported
- with this server.
-
- ** Quarterdeck Win-16 WebServer **
-
- This web server does not always return binary data sent through
- CGIOut(), such as the data for a .GIF image. No problems with
- text files. We hope this problem will be fixed soon.
-
- ** UNIX (LINUX/SUN-OS/FreeBSD currently) **
-
- Currently, all UNIX installations are identical regardless of the
- particular flavor of UNIX or the http Daemon being used. You will need
- access to the cgi-bin directory to install ScriptEase:WSE for UNIX. If
- you are root on your system, this is not a problem. Some commercial
- providers create virtual cgi-bin directories which you have access to.
- Otherwise, you will need to talk to your System Administrator about this.
-
- The first and easiest way to install ScriptEase:WSE is to copy it to your
- cgi-bin directory. However, this installation method has the disadvantage
- (if you do not configure your scripts with a SEWSECFG secure path) of
- allowing any user on your system to run any ScriptEase:WSE script from
- their web pages. You might not want this. To reference such a script from
- your web pages, use the URL [http://yoursite/cgi-bin/sewse?scriptname].
- The script name must be the full path to the script.
-
- Ex: [http://www.nombas.com/cgibin/sewse?/home/httpd/html/sewse/test.cmm]
-
- A second (and perhaps safer) way to install ScriptEase:WSE is to put it in
- either /usr/bin or /usr/local/bin. You can then put UNIX shell scripts which
- use ScriptEase:WSE as their command processor in your cgi-bin directory.
- Thus, you have control over what scripts you allow your users on your system
- to put in their web pages.
-
- Ex: [http://www.nombas.com/cgi-bin/myscript.cmm]
-
- In this case, myscript.cmm must be executable and readable by the account
- 'nobody'. In addition, the first line of the script should read:
-
- #!/usr/local/bin/sewse
-
- ScriptEase:WSE must be executable by nobody.
-
- ** Website **
-
- In the "mapping" folder of the WebSite server administration folder
- are instructions for specifying which directories support CGI,
- Win-CGI, or ISAPI (Nombas has not yet tested SE:WES ISAPI version on
- WebSite). Specify these directories/URLs in SESETUP to match the
- CGI or ISAPI method chosen.
-
- One potential area of confusion with WebSite is in the escape sequences
- on the "CGI" page of the WebSite Server Admin Program. SE:WSE CGI
- will suport sequences "~p ~v ~i ~o ~a" or "~s ~p ~v ~i ~o ~a", and
- SE:WSE Win-CGI will support sequences "~s ~p ~a" or "~p ~a".
-
-