On Tue, 23 Sep 2003 18:03:50 -0500, Dave Watts wrote:

> > Can anyone give me more information on this? I would prefer 
> > NOT to have to install the built-in webserver unless I can 
> > disable it after the install.
> 
> I can't provide any information about Apache 1.3.28 on RH 8, but you can
> certainly disable the built-in web server any time you like, by editing the
> appropriate text file:
> 
> http://www.macromedia.com/support/coldfusion/adv_development/config_builtin_
> webserver/

Thanks Dave, that hit the nail right on the head.  Especially for a production
system I want to reduce the overhead as much as possible.  Danke.

I should mention that I did get the install to work.  In case anyone else finds
it useful here are the instructions I posted on the CF forums:



RedHat 8.0
Apache 1.3.28 (compiled from source; minimal install... disabled mod_imap and
mod_userdir)

First I installed CFMX 6.1. This is all pretty standard. I changed the install
path to /usr/local/cfmx-6.1 so don't be surprised if you see it referenced in the
commands below. I selected the built-in web server and let the install complete.

Execute the these commands

cd /usr/local/cfmx-6.1/bin/connectors
cp apache_connector.sh apache_connector.sh.default

Then open apache_connector.sh with your text editor of choice.

You'll see this string near the bottom of the file:

$JAVA_EXECUTABLE -jar $CF_DIR/runtime/lib/wsconfig.jar \
-ws apache \
-dir /usr/local/apache2/conf \
-bin /usr/local/apache2/bin/httpd \
-script /usr/local/apache2/bin/apachectl \
-coldfusion -v

Replace it with this:

$JAVA_EXECUTABLE -DWSConfig.redhat-release=7 -jar
$CF_DIR/runtime/lib/wsconfig.jar \
-ws apache \
-dir /usr/local/apache/conf \
-bin /usr/local/apache/bin/httpd \
-script /usr/local/apache/bin/apachectl \
-coldfusion -v

This assumes that you installed apache to /usr/local/apache.

Exit your text editor and run:

./apache_connector.sh

The install should run without incident. Your httpd.conf file will be affected in
the following ways:

(1) This block of text is added:

LoadModule jrun_module /usr/local/cfmx-6.1/runtime/lib/wsconfig/2/mod_jrun.so
<IfModule mod_jrun.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore /usr/local/cfmx-6.1/runtime/lib/wsconfig/2/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51010
#JRunConfig Errorurl <optionally redirect to this URL on errors>
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
</IfModule>

(2) Your directory index is modified:

<IfModule mod_dir.c>
DirectoryIndex index.html index.cfm
</IfModule>

That's it. All I did was add two soft links in my Apache htdocs dir as follows:

cd /usr/local/apache/htdocs
ln -s /usr/local/cfmx-6.1/wwwroot/CFIDE .
ln -s CFIDE cfide

Then I can access the CF Administrator via Apache and everything seems to work
fine. Let me know if that helps.


-Cliff Meyers
cliff at cliffmeyers dot com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:14:3326
Archives: http://www.houseoffusion.com/lists.cfm?link=t:14
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:14
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Reply via email to