The following feature changes in configuration are included in AOLserver Version 3.0
The following table lists the general configuration changes that have been made in AOLserver Version 3.0
Configuration file format changed: The configuration file is now a Tcl file instead of an .ini file. The default configuration file name is nsd.tcl. Two new Tcl functions, ns_section and ns_param are used to define the sections and parameters in the configuration file. To convert your nsd.ini files to nsd.tcl files, use the translate-ini program. The syntax is:
See page 16 for detailed information on configuration file changes. | Administrator's Guide: Chapter 4 |
Aliases no longer supported: You can no longer configure URL to file mappings with AOLserver. | |
Assets parameter and directory removed: Graphics files associated with pages must now reside in the PageRoot directory for the server. | |
Caching configuration changed: Caching for static files is now supported through the fastpath mechanism. Caching for ADPs is configured with the new Cache parameter in the ADP section. | |
CGI support now an optional module: CGI is now a module (nscgi) and is therefore configured in the ns/server/server-name/modules/nscgi section in the configuration file. | Administrator's Guide: page 63 |
Dynamo Server no longer supported: Support for ATG's Dynamo Server is no longer provided. | |
Fastpath configuration for static files: The new fastpath section is now used to configure how AOLserver sends out static pages. | Administrator's Guide: page 58 |
Java Servlet API no longer supported: The nsdynamo module has been removed. | |
Mime Icons no longer supported: AOLserver no longer generates directory listings, so file icons are not needed for directory listings. | |
Network logging no longer supported: The nsnlog module has been removed. | |
Realms for logging supported: You can now configure multiple realms to redirect logging from individual modules to different files. | Administrator's Guide: page 60 |
Redirects supported: You can configure status/URL pairs, such that a redirect is sent to the specified URL for the specified status. | Administrator's Guide: page 61 |
Select Loops no longer supported: The optional "select-loop" feature has been removed. | |
Server Busy errors no longer returned: AOLserver no longer returns "Server Busy" errors. If more threads are requested than MaxThreads, the requests will be forced to wait until the number of waiting requests drops below MaxThreads. | |
Server-parsed HTML no longer supported: AOLserver no longer supports server-parsed HTML, also called server-side includes. | |
Setup Server removed: The Setup Server is no longer supported. All configuration must be done by editing the configuration file. | |
SSL no longer supported: The nsssl module has been removed. It is intended that the nsssl module will be re-implemented in a later release. | |
tclstate module removed: AOLserver no longer maintains state data in Tcl. | |
Trailers no longer supported: The following parameters have been removed: TrailerFindEnd, TrailerFmt, TrailerText, and TrailerType. | |
Virtual host redirection supported: This module allows you to proxy requests to different servers. | |
Virtual hosting configuration changed: The nsvhost module has been removed. Virtual hosting is now supported through the nsvhr module, which proxies requests to different servers instead of internally redirecting requests to other virtual servers. | |
Unix communications driver module: The nsunix module has been added to provide better performance for proxying connections by the nsvhr module. It allows the nsvhr module to proxy over a UNIX domain socket instead of a TCP socket. | Administrator's Guide: page 72 |
Virtual servers no longer supported: AOLserver no longer runs multiple virtual servers with one call to the nsd command line. You can still define multiple servers in the configuration file and specify which one is to be run on the nsd command line. |
The following table lists the changes that have been made to the configuration file in AOLserver Version 3.0. Many parameters have been removed, and some new sections and parameters have been added. Where parameters have been removed, the previous default setting is now in effect
ns/parameters: The following parameters are new:
The following parameters have been removed:
| Administrator's Guide: page 50 |
ns/mimeicons: This section has been removed. Since directory listings are no longer supported, there is no need to define icons for them. | |
ns/mimetypes: This configuration file section has not changed for v3.0. | Administrator's Guide: page 53 |
ns/setup: This section has been removed. The Setup Server is no longer supported. | |
ns/servers: This configuration file section has not changed for v3.0. | Administrator's Guide: page 55 |
ns/server/server-name: The following parameters are new:
The following parameters have been removed:
| Administrator's Guide: page 55 |
ns/server/server-name/adp: The following parameters are new:
The following parameters have been removed:
| Administrator's Guide: page 56 |
ns/server/server-name/aliases: This section has been removed. Aliases are not supported in v3.0. | |
ns/server/server-name/db: This configuration file section has not changed for v3.0. | Administrator's Guide: page 58 |
ns/server/server-name/fastpath: This is a new configuration file section to allow you to configure how AOLserver sends out static pages. | Administrator's Guide: page 58 |
ns/server/server-name/mimeicons: This section has been removed. Directory listings are not supported, so icons for them are not needed. | |
ns/server/server-name/mimetypes: This section has been removed. Individual servers can no longer specify mime types to override those specified in ns/mimetypes. | |
ns/server/server-name/realms: This is a new configuratin file section to support realms, which allow you to redirect logging from individual modules. | Administrator's Guide: page 60 |
ns/server/server-name/redirects: This is a new configuration file section to support redirects. | Administrator's Guide: page 61 |
ns/server/server-name/shtml: This section has been removed. Server-parsed HTML is no longer supported. | |
ns/server/server-name/tcl: The following parameters have been removed:
| Administrator's Guide: page 61 |
ns/server/server-name/modules: This configuration file section has not changed for v3.0. | Administrator's Guide: page 62 |
ns/server/server-name/module/nscache: This section has been removed. The associated sections have also been removed:
| |
ns/server/server-name/module/nscgi: This section replaces the previous ns/server/server-name/cgi section. CGI support is now a module. The following parameters are new:
This parameter has been removed:
| Administrator's Guide: page 63 |
ns/server/server-name/module/nscp: This is a new configuration file section for the new nscp module, which enables the new control port interface. | Administrator's Guide: page 64 |
ns/server/server-name/module/nscp/users: This is a new configuration file section for the new nscp module. | Administrator's Guide: page 66 |
ns/server/server-name/module/nsdynamo: This section has been removed.ATG's Dynamo Server is no longer supported. | |
ns/server/server-name/module/nsftp: This section has been removed. Ftp is no longer supported. | |
ns/server/server-name/module/nslog: The following parameter is new:
The following parameters have been removed:
| Administrator's Guide: page 68 |
ns/server/server-name/module/nsnlog: This section has been removed. Network logging is no longer supported. | |
ns/server/server-name/module/nsperm: The following parameters are new:
The following parameters have been removed:
| Administrator's Guide: page 69 |
ns/server/server-name/module/nsservlet: This section has been removed. The Java servlet API is no longer supported. | |
ns/server/server-name/module/nssock: The following parameters have been removed:
| Administrator's Guide: page 70 |
ns/server/server-name/module/nsssl: This section has been removed. SSL is no longer supported. | |
ns/server/server-name/module/nstext: This section has been removed. Illustra is no longer supported. | |
ns/server/server-name/module/nstclstate: This section has been removed. Maintaining Tcl state data is no longer supported. | |
ns/server/server-name/module/nsvhost: This section has been removed. Virtual hosting is no longer supported. An associated section has also been removed: | |
ns/server/server-name/module/nsvhr: This is a new configuration file section for virtual host redirection, which proxies requests to different servers. | Administrator's Guide: page 70 |
ns/server/server-name/module/nsvhr/maps: This is a new configuration file section for virtual host redirection. | Administrator's Guide: page 71 |
ns/server/server-name/module/nsunix: This is a new configuration file section to allow the nsvhr module to proxy over a UNIX domain socket instead of a TCP socket. | Administrator's Guide: page 72 |
ns/db/drivers: This configuration file section has not changed for v3.0, although the Illustra database drivers are no longer supported. | Administrator's Guide: page 73 |
ns/db/driver/illustra: This section has been removed. Illustra is no longer supported. | |
ns/db/driver/extname: This configuration file section has not changed for v3.0, although the Illustra database drivers are no longer supported. | Administrator's Guide: page 73 |
ns/db/pools: This configuration file section has not changed for v3.0. | Administrator's Guide: page 74 |
ns/db/pool/pool-name: This parameter has been removed:
| Administrator's Guide: page 75 |
ns/interps/interps-name: This configuration file section has not changed for v3.0. | Administrator's Guide: page 77 |
ns/environment/environment-name: This configuration file section has not changed for v3.0. | Administrator's Guide: page 77 |
ns/threads: The following parameters are new:
The following parameters have been removed:
| Administrator's Guide: page 78 |