User Guide
Table Of Contents
- Installing and Configuring ColdFusion Server
- Contents
- Welcome to ColdFusion Server
- Installing ColdFusion Server in Windows
- Installing ColdFusion Server in Solaris
- Installing ColdFusion Server in Linux
- Installing ColdFusion Server in HP-UX
- Basic ColdFusion Server Administration
- Managing Data Sources
- Preparing Your Server for ClusterCATS

50 Chapter 3 Installing ColdFusion Server in Linux
To configure SuSE/Cobalt and Apache:
1 To check whether your version of Apache is built with EAPI, run this command:
httpd -V
If the output contains the line -D EAPI, you are running an EAPI server. (SuSE
requires an EAPI version of mod.coldfusion.so.)
2 Shut down Apache with the following command:
/etc/rc.d/apache stop
3 Open the file /etc/httpd/httpd.conf in a text editor.
aIn the section
LoadModule, add the following lines:
LoadModule mmap_static_module /usr/lib/apache/mod_mmap_static.so
LoadModule setenvif_module /usr/lib/apache/mod_setenvif.so
LoadModule coldfusion_module /opt/coldfusion/webserver/apache/
mod_coldfusion_EAPI.so
bIn the section AddModule, add the following lines:
ClearModuleList
AddModule mod_mmap_static.c
AddModule mod_vhost_alias.c
AddModule mod_so.c
AddModule mod_setenvif.c
AddModule mod_coldfusion.c
c Save the file.
4 Create a symbolic link from the EAPI version of the ColdFusion Server module to
the /usr/lib/apache directory, to ensure that the EAPI module is executable:
chmod 755 /opt/coldfusion/webserver/apache/mod_coldfusion_EAPI.so
ln -s /opt/coldfusion/webserver/apache/mod_coldfusion_EAPI.so /
usr/lib/apache/mod_coldfusion.so
5 Open the file /etc/rc.d/apache in a text editor.
a Look for the following lines:
if ! test "$HTTPD_SEC_MOD_SAPCGI" == "no" ; then
test -e /usr/lib/apache/mod_fastcgi_sap.so || \
test $(/usr/sbin/httpd -l | grep "mod_fastcgi_sap.c") =
"mod_fastcgi_sap.c" 2> /dev/null \
&& MODULES="-D SAP_CGI $MODULES" && echo -n " SAP-fastcgi"
fi
b Add these lines directly below the previous lines:
if ! test "$HTTPD_SEC_MOD_COLDFUSION" == "no" ; then
test -e /usr/lib/apache/mod_coldfusion.so && MODULES="-D
COLDFUSION $MODULES" && echo -n " Coldfusion"
fi
6 Restart Apache with this command:
/etc/rc.d/apache start
install.book Page 50 Thursday, May 10, 2001 12:59 PM