Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



Defining Applications on UNIX


This section describes the options that are available for defining Sun ONE Active Server Pages applications on UNIX-based systems.

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 Active Server Pages and could void your eligibility for customer support. Back up your data before making any changes.
   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, as described in Using the Administration Console.

With Sun ONE ASP running on a UNIX system with any supported Web server, you can define an ASP application by using the following methods:

The ASP Server dynamically recognizes ASP applications that are defined in the Sun ONE ASP User Configuration file or the FrontPage services.cnf file. These applications must be defined by using the application name (for example, "/appname"). An application named /customers must correspond to a real top-level directory named "customers" in the Web server document root directory. The files that make up this application must all exist within the Web server document root directory. The global.asa file, if present, must be located in the top-level directory.

The ASP Server does not dynamically recognize ASP applications that are defined in the Sun ONE ASP configuration file, casp.cnfg, or that are defined by using an alias in the Web server configuration files. The ASP Server must be restarted to recognize them. ASP applications defined in the casp.cnfg file or by creating an alias in the Web server configuration files can include files outside of the Web server document root directory. The global.asa file, if present, must be located in the top-level directory referenced by the ASP application.

If there are naming conflicts between ASP applications that are defined in different directories, the ASP Server honors application definitions in the following order:

  1. Web server aliases

  2. casp.cnfg file entries

  3. FrontPage services.cnf file entries

  4. ASP User Configuration file entries

Note icon Note Sun ONE ASP for UNIX- and Linux-based systems dynamically recognizes ASP applications created by FrontPage, but only if the application is not in a nested sub-Web. If the application (and its associated global.asa file) is located in a directory that is not a top-level directory of the Web server document root directory, you must define this application using either the [applications] section of Sun ONE ASP casp.cnfg file, or by adding an alias to your Web server configuration. For more information, see Editing the Sun ONE ASP Configuration File.

In this section:

Defining an Application on Sun ONE Web Server

Defining an Application on Apache Web Server



ContentsPreviousNextIndex