Windows NT
The WebObjects installation program automatically sets up WebObjects to work with your Web server. No further steps are necessary.
Mach
The following instructions will help you make sure your Web server sees the WebObjects Adaptor and the examples.
If you're using WebObjects with the Apache server
You're done with installation. To start up the server, su to root and give this command:
/NextLibrary/WebServer/httpd -d /NextLibrary/WebServer > /dev/console
If you're using WebObjects with any other Web server
You'll need to move the contents of two directories. You may have to su or log in as root before doing this.
- Identify your Web server's cgi-bin and DocumentRoot directories.
- The cgi-bin directory is commonly located as /usr/local/etc/httpd/cgi-bin.
- The DocumentRoot is commonly located as /usr/local/etc/httpd/htdocs.
- If you don't know how to identify these important directories, see your system administrator.
- Move files under /NextLibrary/WebServer to your Web server's directories.
- Move the two files under /NextLibrary/WebServer/cgi-bin to your Web server's cgi-bin directory.
- Move the two directories under /NextLibrary/WebServer/htdocs to your Web server's DocumentRoot directory.
- Make sure your Web server is running.
Solaris and HP-UX
If you're using WebObjects the Apache Web server
To install the Apache Web server provided with the WebObjects release, follow these steps:
- On Solaris, cd to WebServer-3.0/Solaris in the mount directory for the CD-ROM.
On HP-UX, cd to WebServer-3.0/HP-UX in the mount directory for the CD-ROM.
- Start the install script with this command:
sh WebServerInstall
- When the install script asks you to confirm that you want the Apache HTTP server software installed, type "y" to proceed or "n" to cancel the installation.
- On HP-UX, there may be an incompatibility between the standard user and group ID numbers for nobody and those required by the Apache HTTP server. One work-around for this problem is to create a new user account to own the files on your web server. Create the user (using any name you wish) with the standard HP-UX utilities.
Then modify the /NextLibrary/WebServer/conf/httpd.conf file by replacing "nobody" with the name of the new user in the following line
User nobody
- To start the server, open a shell, su to root, and give this command:
/NextLibrary/WebServer/httpd -d /NextLibrary/WebServer > /dev/console
This completes the installation of the Apache server.
If you're using WebObjects with any other Web server
Follow these steps to move the contents of two directories. (You may need to su to root before doing this.)
- Identify your web server's cgi-bin and document root directories.
- Move the files under /NextLibrary/WebServer/cgi-bin to your web server's cgi-bin directory.
- Move the two directories under /NextLibrary/WebServer/htdocs to your web server's document root directory.
http://localhost/cgi-bin/WebObjects/Examples/ApplicationNameAs long as you are accessing the documentation from the HTTP server machine (that is, localhost) and the HTTP server stores scripts in a directory named cgi-bin, these links work. If you are accessing the documentation over the network, or the HTTP server doesn't call its scripts directory "cgi-bin", the links will be broken.
cd $NEXT_ROOT/NextLibrary/Documentation/NextDev/WebObjects curls.sh -h Mars -c Scripts -F WOPages(On a Mach machine, you'd cd to /NextLibrary/Documentation/NextDev/WebObjects before running the curls command.)
If you can't delete a file, that means it is still running. Double-click the file in Explorer to terminate it. Then delete the file.
For Windows NT 3.51:
For Windows NT 4.0:
Note: You must take great care when editing the Windows Registry; it's possible to alter your configuration so that your computer will no longer boot. If you aren't comfortable working with the Windows NT Registry, skip this step.
For Windows NT 3.51:
For Windows NT 4.0:
Uninstallation is now complete.