Configuring Your Installation
35
After you configure mod_so in your Apache binary, the simplest way to configure the
ColdFusion Server module is to use the apxs program that is included in the Apache
distribution. It installs by default in <apachedir>/apache/bin. This is a Perl script, so
you must have Perl installed on your system. Perl is available at
http://
www.perl.com
.
To use the apxs program:
1
Ensure that Perl is available in /usr/local/bin/perl.
2
Ensure a C compiler is in your PATH.
3
Add the apache/bin directory to your path:
csh:
set path=($path /usr/ccs/bin /usr/local/apache/bin)
sh/ksh:
PATH=$PATH:/usr/ccs/bin:/usr/local/apache/bin
export PATH
4
Change to the apache/src directory in the ColdFusion Server installation.
cd /opt/coldfusion/webserver/apache/src
5
Run the apxs command to build mod_coldfusion.so by entering this command:
make
6
Run the apxs command to add the module to the Apache configuration by
entering this command:
make install
7
Restart your Apache server by entering this command:
apachectl restart
To configure the Apache module that ColdFusion Server provides for
Solaris:
1
Copy the ColdFusion Server module to the Apache modules directory:
cp /opt/coldfusion/webserver/apache/mod_coldfusion.so /usr/local/
apache/libexec
2
Edit your httpd.conf file to include this directive:
LoadModule coldfusion_module libexec/mod_coldfusion.so
Note
If you have a ClearModuleList directive in httpd.conf, you must add this directive
to the AddModule list, as stated by the comments in the httpd.conf file:
AddModule mod_coldfusion.c
3
Restart Apache.
install.book Page 35 Thursday, May 10, 2001 12:59 PM
Содержание COLDFUSION 5 - INSTALING AND CONFIGURING SERVER
Страница 1: ...Macromedia Inc Installing and Configuring ColdFusion Server ColdFusion Server 5...
Страница 14: ...xiv Welcome to ColdFusion Server...
Страница 34: ...22 Chapter 1 Installing ColdFusion Server in Windows...
Страница 66: ...54 Chapter 3 Installing ColdFusion Server in Linux...
Страница 160: ...148 Appendix Preparing Your Server for ClusterCATS...