Ok, that makes a lot of sense to me. The problem with running wsconfig (in
my case) is that I get some crappy error telling me:

"Could not connect to any Jrun/Coldfusion Servers on host localhost.

Possible causes --> Server not running   (Start JRun or Coldfusion Server)

                         --> Server running (JNDI listen port in
jndi.properties blocked by TCP/IP filtering or firewall on server   OR
host restriction in security.properties blocking communication with server)"

So, after getting that message time after time trying different
configurations.uninstalling.reinstalling.etc. I found some instructions on
the Macromedia website for how to install it manually. The following is what
I have in my httpd file:

# 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:51001

    #JRunConfig Errorurl <optionally redirect to this URL on errors>

    AddHandler jrun-handler .cfm .cfc .cfml .jsp .jws

</IfModule>

AddType application/x-httpd-coldfusion .cfm

AddHandler type-coldfusion .cfm

The funny thing is that whereas I'd always get that error when attempting to
configure an external web server (either in the process of initial program
install, or after the fact using the configurator), after adding the above
to the httpd file the web server configurator actually displays the Apache
server as being installed. Go figure.

. .. .. .. ???





  _____  

From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 8:49 AM
To: CF-Talk
Subject: RE: Newbie problem getting Mozilla Firefox to recognize .CFM file
s...

> I feel really stupid at getting hung up on this, but I can't
> figure it out. I've tried changing the MIME settings in the
> Apache2 httpd file, and to no avail.
>
> Firefox thinks that I'm telling it to download a file when I
> put the local test URL into the browser. I.e.
> localhost/cfm/test.cfm
>
> I have the Coldfusion installation of JRun4 running on Apache
> 2.0.49.
>
> Does anyone recognize this newbie mistake? The only other
> info I have is that at one point I had it just giving me an
> HTTP Error 500 (rather than trying to download a file).

I don't think this has anything to do with your browser. It sounds like
Apache is not configured to serve CFM files. Did you run the web server
configuration tool (wsconfig)?

You might want to check your LoadModule and AddModule directives to see if
they include one for the JRun module.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444

  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to