Greetings,
I have a small web farm setup with several virtualhosts on it and need
to control access to CFMX 6.1 on a by-virtualhost basis. System setup:
OS: Red Hat Linux 9
Web Server: Apache 2.0.40 (installed via RPM httpd-2.0.40-21.16.legacy)
CF: CFMX 6.1
I've adjusted the httpd.conf so that the
LoadModule jrun_module /var/www/cfmx/runtime/lib/wsconfig/1/mod_jrun20.so
call is made in the main section of httpd.conf and then each virtualhost
that needs CFMX has the following stanza in it.
<IfModule mod_jrun20.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore/
var/www/cfmx/runtime/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51010
DirectoryIndex home.htm home.html Home.htm Home.html index.cfm
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
</IfModule>
This works and provides access to CFMX in only the virtual hosts where I
want it.
Now for the weird problem: There are 4 servers involved, a development
box where people hack on their websites, a preview box where "about to
be deployed" material is copied to make sure it is good to go, and two
production web servers in a load-balanced web farm. The default
virtualhost on each of these servers answers to its own hostname, and
has CFMX enabled as described above, with the CFIDE in its DocumentRoot.
On the development and preview servers, everything is working fine.
On the two production web servers, however, I'm running into problems in
the first virtualhost where any attempt to access CFMX results in a
'Server has not been properly configured for JRun.' error.
I've been beating my head against a wall on this for 3 days now. These
web servers are all virtually identical at both the OS and apache
configuration levels. The apache config files are generated from master
copies and only differ in IP addresses and hostnames. Everything else
is identical. The CFMX installs on each server were made identically as
well. I can find no reason why the default virtualhost on development
and preview works with CFMX, but the production web server default
virtualhost doesn't.
Can anyone offer advice?
--[Lance]
--
Lance A. Brown
Contractor, SysAdmin Task of the LMIT ITSS Contract for
National Institute of Environmental Health Sciences
919.361.5444x420
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net
Message: http://www.houseoffusion.com/lists.cfm/link=i:14:3733
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54