MACROMEDIA COLFUSION MX 7 - CONFIGURING AND ADMINISTERING COLDFUSION MX Manual page 98

Hide thumbs Also See for COLFUSION MX 7 - CONFIGURING AND ADMINISTERING COLDFUSION MX:
Table of Contents

Advertisement

NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
ServerAdmin admin@mysite.com
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
ServerName RNIELSEN02
ErrorLog logs/error.log
</VirtualHost>
<VirtualHost 127.0.0.1>
ServerAdmin admin@mysite.com
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs2"
ServerName rnielsenstore
ErrorLog logs/error-store.log
<IfModule mod_jrun20.c>
JRunConfig Verbose true
JRunConfig Serverstore "C:/JRun4/lib/wsconfig/mystore/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51002
</IfModule>
</VirtualHost>
<VirtualHost 127.0.0.1>
ServerAdmin admin@mysite.com
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs3"
ServerName rnielsenemployee
ErrorLog logs/error-employee.log
<IfModule mod_jrun20.c>
JRunConfig Verbose true
JRunConfig Serverstore "C:/JRun4/lib/wsconfig/myemp/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51003
</IfModule>
</VirtualHost>
...
Restart Apache.
9.
(Optional) Store the application's ColdFusion files in your external web server root directory.
10.
Test the applications under each virtual host.
11.
Note: Remember that the web server connector doesn't serve static content, such as HTML and
images. Place these files under the web root or create a web server mapping to the ColdFusion
web application root.
Configuring application isolation in Sun ONE Web Server
When using multiple virtual hosts with multiple server instances under Sun ONE Web Server,
you create multiple Sun ONE Web Server instances, one for each ColdFusion server instance.
This section assumes that you have already created server instances, as described in
application isolation" on page
To configure multiple server instances for application isolation when using Sun ONE
Web Server:
Run the Web Server Configuration Tool multiple times, once for each Sun ONE Web Server
server instance, and specify a different configuration directory and ColdFusion server instance
each time. Ensure that you select the Configure Web Server for ColdFusion MX Applications
check box (GUI) or use the
98
Chapter 7: Using Multiple Server Instances
94.
option (command-line).
-coldfusion
"Enabling

Advertisement

Table of Contents
loading

Table of Contents