ONE Active Server Pages Product Home Page Developer Site Version


Editing the Sun ONE ASP Configuration File

UNIX and Linux versions of Sun ONE Active Server Pages include a configuration file, casp.cnfg, in which expert users can change Sun ONE ASP settings. This section describes the settings and their parameters. Most of the configuration settings described in this section are easily accessed from the Sun ONE ASP Administration Console. It is strongly recommended that you use the Administration Console whenever possible. For more information about changing server settings using the Sun ONE ASP Administration Console, see Changing ASP Server Settings.

Caution icon Caution Take great care when making the changes described in this section. Changes you make could require a complete reinstall of Sun ONE ASP and could void your eligibility for customer support. Back up your data before making any changes.

You can find the casp.cnfg file in the following location:


where [C-ASP_INSTALL_DIR] is the path name of the Sun ONE ASP installation directory, and [PORT] is the ASP Server port number (resembles 3000).

You can open casp.cnfg in any text editor and make the desired changes. For the changes to take effect, you must restart the ASP Server, as described in Stopping and Restarting the ASP Server (Admin Console) or Stop/Start/Status ASP Server (Command Line).

Note icon Note If you make any changes to casp.cnfg, you must restart the Sun ONE ASP Server. If you make any changes to the [default application] section in casp.cnfg, you must restart both the Sun ONE ASP Server and the Web server.

The casp.cnfg file is divided into sections by keywords. The keywords and parameters are described in the following sections.

In this section:


[default machine]

[virtual hosts]

[default application]




[Components Security]

[Product Update]