2.1.6 Configuring Apache

The Chili!Soft ASP server links to the Apache Web server through Apache's module facility. See the following sections for instructions on installing Chili!Soft ASP for Apache Web server versions 1.3.3 through 1.3.12 (except 1.3.5), followed by instructions for modifying the Apache configuration files. For the most up-to-date information on using Chili!Soft ASP with the Apache Web server, please refer to the product README file.
Note:
If you are using Apache versions 1.3.3 through 1.3.12 (except 1.3.5), with DSO (Dynamic Shared Object) support enabled and you selected the DSO option during Chili!Soft ASP installation, you may not need to read this section. See the note below. All other Apache users should read this section.
Note:
If you are using the FrontPage Server extensions with your Apache Web server, or you are using a version of Apache not listed in this section, or you are using a modified version of Apache, and you are using DSO, the pre-compiled DSO modules provided by Chili!Soft may not work with your server. Instructions for building a new DSO module against your specific version of Apache are provided at the end of this section.
2.1.6.1 Installing the Apache Web Server module
- Follow the installation instructions for the Apache Web Server Module.
- If your Apache server has DSO (Dynamic Shared Object) support, and you chose the DSO option during setup, you do not need to read the following section. The setup script will use pre-built Chili!Soft ASP DSO modules to set up everything for you. If you need to build a new DSO module for Apache, see the next section.
- If you have not compiled your Apache server to take advantage of DSO, you will need to follow the procedures listed below to compile in the Chili!Soft ASP module for Apache.
2.1.6.2 Statically Linking the Chili!Soft ASP module with Apache versions 1.3.3 through 1.3.12 (except 1.3.5), (No DSO support)
- Copy all of the files in the subdirectory module/source/build/ from the subdirectory of the Chili!Soft ASP installation directory to the src/modules/extra subdirectory of your Apache source directory.
- Change to the Apache source directory.
- Type the following command:
#./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 Web server.
- After the configure script is complete, edit src/Makefile with a text editor. Add "-ldl" to the EXTRA_LIBS section.
- Return to the Apache install directory. Type:
# make
- To copy all of the new Web server files to the appropriate location, type:
# make install
- Installation is automatic. When the installation process is complete, restart your Web server.
2.1.6.3 Dynamically Linking the Chili!Soft ASP Module with Apache versions 1.3.3 through 1.3.12 (except 1.3.5), (Building a new DSO Module)
If you have not modified your Apache server with the FrontPage module or other modules, then the Chili!Soft ASP module configured by the install script should work fine. However, if your Apache server is not starting up properly and/or you have modified Apache with the FrontPage module or other modules, you may need to build a new DSO module for Chili!Soft ASP. The following steps assume you have already installed Chili!Soft ASP to your Apache Web server, using the Apache DSO option in the caspi installation script. It also assumes you have an Apache server that has DSO enabled.
- Change to the module/source/build directory in your Chili!Soft ASP installation directory.
- Type the following command:
# [WEB SERVER ROOT DIR]/bin/apxs -c mod_casp2.c
where [WEB SERVER ROOT DIR] is the root directory for your installed Web server.
- Type the following command:
# [WEB SERVER ROOT DIR]/bin/apxs -i -a -n casp2 mod_casp2.so
- Repeat step 4 for each Apache Web server to which you have installed Chili!Soft ASP.
- Copy the generated mod_casp2.so library to the module/apache_1.3.x subdirectories of the Chili!Soft ASP installation directory.
Copyright © 2000 Chili!Soft
|