The web browser does not launch or launches the incorrect URL
When you launch a WebObjects application from the command line, the application computes its own URL, launches the web browser, and enters the URL in the browser. It prints messages about the values it computes to standard output.
Check the standard output (the command-shell window) for these messages:
Reading WebServer configuration from /NextLibrary/WOAdaptors/Configuration/WebServerConfig.plist
url
Opening application's URL in Browser:
The application uses the information in the configuration file NeXT_ROOT/NextLibrary/WOAdaptors/WebServerConfig.plist to compute its URL. This file is created during the installation.
{
DocumentRoot = "/NextLibrary/WebServer/htdocs";
WOAdaptorURL = "http://localhost/cgi-bin/WebObjects";
}
http://localhost/
cgi-bin/
WebObjects
A simple scripted application won't run properly.
Check that the examples are installed correctly by attempting to load a static page. For example, try to load the WebObjects Home Page:
http://localhost/WebObjects/Documentation/WOHomePage.html
(If your HTTP server isn't running on your local machine, use the host name of the machine running the server in place of "localhost" in the URL above.)
Check that the WebObjects adaptor is installed correctly and can run. Use your browser to open this URL (which specifies the WebObjects adaptor, but fails to specify an application name):
http://localhost/cgi-bin/WebObjects
(Again, replace "localhost" with the name of the host running your HTTP server. Replace "cgi-bin" with the actual name of the directory that contains scripts and CGI programs on your server.) If the WebObjects adaptor is installed correctly, it returns a list of WebObjects applications located under the document root.
If the adaptor is installed incorrectly or can't run, the browser will display a message like this:
404 Not Found
The requested URL /cgi-bin/WebObjects was not found on this server.
Table of Contents Next Section