This topic applies if you have installed Sun Chili!Soft ASP on a computer running an Apache Web server that does not have Dynamic Shared Object (DSO) support.
When you install Sun Chili!Soft ASP on a computer running an Apache Web server, the setup program automatically links Sun Chili!Soft ASP to Apache through Apache's module facility. The setup program uses pre-built Sun Chili!Soft ASP DSO modules to set everything up for you. However, if you are running a non-DSO version of Apache (a version that does not have DSO support), you must use the following procedure to link Sun Chili!Soft ASP to the Apache Web server.
The Sun Chili!Soft ASP setup program makes certain changes to the configuration files for the associated Web server. For more information about changes for Apache, see "Changes to Apache Web Server Configuration Files" in this chapter.
To manually link the Sun Chili!Soft ASP module to an Apache Web server that does not have DSO support, install Sun Chili!Soft ASP and then use the following procedure. The steps in this procedure are based on the assumption that Apache is installed and the source has been saved.
To link the Sun Chili!Soft ASP module to Apache Web Server
1. Stop the Apache Web server.
2. Copy the files "module/source/build/mod_casp2.c" and "module/source/build/dispint.h" from the Sun Chili!Soft ASP installation directory to the "src/modules/extra" subdirectory of your Apache Web server source tree directory.
3. From the Apache source tree directory, type the following (note that if you have a custom configuration of Apache, your settings might vary from this example):
#> ./configure --prefix=[WEB_SERVER_ROOT_DIR] --activate-module=src/modules/extra/mod_casp2.c
where [WEB_SERVER_ROOT_DIR] is the root directory for your installed Apache Web server.
4. (Important: On HP-UX, do not take this step; go to step 5 instead.) When the script has finished running, use a text editor to add "-ldl" to the EXTRA_LIBS section of src/Makefile.
5. Return to the Apache installation directory, and type the following:
6. Copy the new Web server files to the appropriate location by typing:
#> make install
7. Installation is automatic. When installation is complete, restart the Apache Web server, and then start the Sun Chili!Soft ASP Server, as described in "Stopping and Restarting the ASP Server" in "Chapter 3: Managing Chili!Soft ASP."
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.