Changing the Configuration Files
Note: The examples provided assume WebObjects is installed in C:\\APPLE
2. The following steps suppose that you stopped your web server application.
3. Copy the contents of the old web server's scripts directory to the new web server's scripts directory. The script directory is normally named
"Scripts" in inetpub or "cgi-bin".
4. Copy the contents of the old web server's document root directory to the new web server's document root directory.
5. Modify WebServerConfig.plist in C:\\APPLE\\Library\\Frameworks\\JavaWebObjects.framework\\Resources\\.
Change the line that sets the DocumentRoot property. This should be set to the full path of the document root.
6. In the same file, change the property WOAdaptorURL. It should be set to the path of the scripts directory relative to the web server root.
For example, if the scripts directory is C:\\www\\cgi-bin\\ and the root of the webserver is C:\\www\\, the WOAdaptorURL property should be set to cgi-bin.
7. Modify WebServerConfig.plist in C:\\APPLE\\Library\\Configuration. Make the same changes to the DocumentRoot and to the WOAdaptorURL properties.
You can check the installation by accessing the WebObjects Adaptor Information Page after restarting the web server. The WebObjects Adaptor Information Page must be enabled first. The following link has the steps to enable the page:
"Setting Access to the WebObjects Adaptor Information Page"
Once the page is enabled, then you can access the WebObjects Adaptor Information Page several ways, two of which are given below.
Method using IIS
http://localhost/scripts/WebObjects.dll/WOAdaptorInfo?username+password
Method using a CGI
http://localhost/cgi-bin/WebObjects.exe/WOAdaptorInfo?username+password
Information about the latest update of WebObjects for Windows is always available in the document titled "WebObjects Current Patch List".
Related Documents | ||
70037 | WebObjects Current Patch List |