ServerName myemployee
ErrorLog logs/error-employee.log
</VirtualHost>
...
For each
5
VirtualHost
the
VirtualHost
Delete the
6
Apialloc
virtual host. Modify the
proxy port (from the jrun.xml file) and jrun_root/lib/wsconfig/subdirectory/jrunserver.store file,
which the web server connector creates automatically. Do not modify the
In the original
7
following example shows three virtual hosts, two of which are configured for ColdFusion MX:
...
# JRun Settings
LoadModule jrun_module "C:/JRun4/lib/wsconfig/1/mod_jrun20.so"
<IfModule mod_jrun20.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
#JRunConfig Serverstore "C:/JRun4/lib/wsconfig/1/jrunserver.store"
#JRunConfig Bootstrap 127.0.0.1:51020
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
</IfModule>
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
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
</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
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
</IfModule>
</VirtualHost>
...
Restart Apache.
8
80
Chapter 6: Using Multiple Server Instances
directive, copy the
directive to the last element in the
,
, and
Ssl
Ignoresuffixmap
Serverstore
directive, remove the
IfModule
directive from its default location outside
IfModule
VirtualHost
elements in the
and
elements to point to the appropriate
Bootstrap
Serverstore
directive.
directive for each
IfModule
jrun-handler
and
lines. The
Bootstrap
line.
Need help?
Do you have a question about the COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX and is the answer not in the manual?
Questions and answers