In order for the ASP Server to process an ASP application when a user requests an ASP page, the application must be defined on the ASP Server. The easiest way to do this is by using the Chili!Soft ASP Administration Console. From the console, you "add" an application by giving the application a name and specifying the physical directory containing the application files and the global.asa file. When you do this, a virtual directory for the application is created on the Web server and associated with the physical directory containing the application files.
To define an application for a virtual host, instead of using the following procedure, use the instructions in "Enabling ASP for a Virtual Host" in this chapter. If the Web developers you support are users of Microsoft FrontPage, see the discussion about defining FrontPage applications in "Using the FrontPage 2000 Services File in a Shared Environment" in this chapter.
To define an ASP application that will not be served by a virtual host, use the following procedure.
To add an ASP application to the ASP Server
1. If necessary, open the Administration Console by using the following URL:
where [HOSTNAME] is the hostname of your Web server and [PORT] is the port on which the Administration Console is running (5100 by default).
2. On the ASP Server tab of the Server Management page (the first page to display when you open the Administration Console), click ASP Applications.
The Applications page displays, showing a list of currently configured ASP applications.
3. Click Add a new application.
The Add application page displays.
4. In the Application name box, type the name of the virtual directory to create and enable as an ASP application.
5. In the Directory box, type the absolute path name of the application directory. The application directory is the top-level physical directory that contains the application ASP files, the global.asa file (if one is being used for this application), and any application subdirectories.
6. Click Save.
– or –
Click Cancel to cancel any entries.
The Applications page displays.
7. In the left navigation pane, click server management.
The Server Management page displays.
8. To put your changes into effect, restart the ASP Server by clicking Restart.
Note
Restarting the ASP Server resets all Session and Application variables.
See also:
Defining ASP Applications on the Server in "Chapter 2: Installing and Configuring Chili!Soft ASP"
Configuring ASP Applications in this chapter
Editing ASP Application Settings in this chapter
Removing an ASP Application in this chapter
Copyright 2001 Sun Microsystems, Inc. All rights reserved. Legal Notice.