Product Home Page | Developer Site | Version | |
In a shared Web hosting environment, you can enable developers to define new ASP applications by using FrontPage. You can use FrontPage to create new global.asa files and ASP applications. FrontPage stores the definitions of these new applications in the FrontPage services.cnf file in the /_vti_pvt subdirectory.
Sun ONE Active Server Pages automatically looks for the services.cnf file in the /_vti_pvt subdirectory, and treats the entries it finds in this file as ASP applications. Applications defined in the services.cnf file are dynamically recognized by Sun ONE ASP, and do not require the ASP Server to be restarted. Sun ONE ASP looks for this filename in the document root directory of the Web server (and each virtual host). Entries in the services.cnf file use the following format:
/[appname] = "/path/to/app/home/directory"
If the services.cnf file and the /_vti_pvt subdirectory appear in the document root directory of a virtual host, then the ASP applications are applied only to that virtual host, and not to others. There are two limitations on applications defined in the services.cnf file:
The files in the application must be located within the document root directory of the Web server (or virtual host).
The directory containing the global.asa file cannot be below the top-level directory of the Web server (or virtual host) document root. For more information about ASP applications and the global.asa file, see Configuring ASP Applications.
See also:
Defining Applications in a Shared Environment
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.