In certain cases, you might want to change the Web server with which Chili!Soft ASP is configured to run. To change the Web server, you must first remove the ASP Server by running the delete_server script. Then you can specify a different Web server to run with the ASP Server by running the add_server script.
Note
This feature is not available on Cobalt systems.
Important
When you run the delete_server script, all of your Chili!Soft ASP configuration settings are overwritten, and any data contained under the installation directory for the ASP Server is deleted. Before you begin, be sure to make a note of your configuration settings so that you can reset them in the Administration Console, and back up any data you do not want to lose.
Note
Running the delete_server script stops the Web server that is currently associated with the Chili!Soft ASP Server.
To change the Web server with which Chili!Soft ASP is configured to run, use the following procedure.
To change the Web server
1. From the Chili!Soft ASP installation directory, enter the following command (for custom installations, the installation directory is /opt/casp by default; for bundle installations it is /usr/local/chilisoft):
#./delete_server
6. At the prompt, enter the number of the ASP Server ("engine") that you want to remove.
7. At the prompt, enter y (yes) if you want to continue uninstalling the ASP Server.
8. At the prompt, enter y (yes) if you want the associated Web server to restart after the ASP Server is uninstalled.
9. After receiving the message, "The uninstall was successful," run the following command to configure a different Web server:
#./add_server
10. The screen displays a list of installed Web servers, along with other options for specifying a Web server. From the list, enter the number of the Web server to configure to run with Chili!Soft ASP, and then follow the instructions in step 9.
– or –
If you want to provide information about the Web server to configure, enter the number for Specify the Web Server, then follow the instructions in step 7.
– or –
If you want the add_server script to search for installed Web servers from which to select, enter the number for Refresh the webserver list. Enter the number of the Web server you want to configure to run with Chili!Soft ASP, and then follow the instructions in step 9.
– or –
If you do not want to configure a Web server during installation, enter the number for Do not configure a web server. If you choose this option, the first time you open the Administration Console, you are prompted to configure the ASP Server and a Web server.
11. On the next screen, enter the number of the type of Web server to configure: 1 for Apache, 2 for Netscape, or 3 for Zeus, and then go to the next step.
– or –
To cancel the user-specified Web server configuration, enter 4. If you choose this option, you are returned to the previous screen. From this screen you can choose another option, as described in step 6.
12. At the prompts, enter the requested information about the Web server, and go to the next step.
13. On the next screen, if the information displayed about your Web server is correct, enter y (yes).
– or –
If the information is incorrect, enter n (no). This returns you to the previous screen. For this screen, follow the instructions in step 6.
14. On the next screen, choose a configuration option for the ASP Server. Enter 1 to choose a default configuration, and go to the next step.
– or –
Enter 2 to choose a custom configuration, and enter the following information at the prompts:
Would you like me to restart this Web server for you? Enter y (yes) if you want the setup program to automatically restart the Web server after completing Chili!Soft ASP installation, or enter n (no) if you do not want this.
Choose a mode. (Solaris, HP-UX, and IBM AIX only) Enter the number of the mode in which you want to run the ASP Server, or enter 3 for more information about this option.
1. Multi-threaded
2. Multi-process
3. More information
Enable samples on this Web server? Enter y (yes) if you want the setup program to install and configure the Chili!Soft ASP samples on your Web server, or n (no) if you do not want this.
Enable documentation on this Web server? Enter y (yes) if you want the setup program to install and configure the Chili!Soft ASP documentation on your Web server, or n (no) if you do not want this.
Start the Chili!Soft ASP on system boot? Enter y (yes) if you want the setup program to start Chili!Soft ASP automatically each time you start the computer, or type n (no) if you do not want this.
Would you like to start this Chili!Soft ASP Server? Enter y (yes) if you want the setup program to start Chili!Soft ASP automatically immediately after you finish installing it, or n (no) if you do not want this.
– or –
Enter 3 to choose another Web server to configure for Chili!Soft ASP, and follow the instructions in step 6.
The script installs the ASP Server in the following subdirectory of the Chili!Soft ASP installation directory:
/asp-[SERVER_TYPE]-[PORT]
where[SERVER_TYPE]is the type of Web server with which you want to configure Chili!Soft ASP to run, and [PORT] is the port on which the Web server is configured to listen. The screen displays summary information about the installation. It is a good idea to print this screen for future reference.
Be sure to reset all of your configuration settings after completing this procedure, and restore any data from the original installation directory that you had backed up.
Note
On Chili!Soft ASP for Linux, if you had a locale specified for your ASP Server other than English - US, you will need to reset it after changing the Web server, as described in "Configuring International Support" in this chapter.
Copyright 2001 Sun Microsystems, Inc. All rights reserved. Legal Notice.