I think it depends on where you have your load module set
<IfModule mod_ssl.c>
Include conf/ssl.conf
</IfModule>
# JRun Settings
LoadModule jrun_module
/opt/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun20.so
<IfModule mod_jrun20.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore
/opt/coldfusionmx/runtime/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51010
#JRunConfig Errorurl <optionally redirect to this URL on errors>
AddHandler jrun-handler .jsp .jws
</IfModule>
You can have the above code in the main server configuration section of
your config file or you can explicitly place it into every virtual host.
I have it configured in the main server configuration section and any
virtual hosts that I add serve up cfm fine.
Where is your JRun setting located?
-----Original Message-----
From: Steve Johnson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 11:46 AM
To: CF-Linux
Subject: Re: Mapping CFMX to a new virtual host
>I've since added another virtual host to apache and I'm getting asked
to
>download the cfm files when I browse to the site. How do I map the CFMX
>application settings to Apache for the new virtual host?
>
>Is there no way of having Apache/CFMX set up so as to automatically
carry
>over the CFMX application mappings to each new virtual host by default?
when i add a virtual host i just add another block like this to my
httpd.conf file and it automatically starts to parse .cfm files etc...
-----
<VirtualHost *:80>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www/newvirtualhost.com
ServerName www.newvirtualhost.com
ServerAlias newvirtualhost.com
ErrorLog logs/newvirtualhost.com-error_log
CustomLog logs/newvirtualhost.com-access_log common
</VirtualHost>
-----
maybe there's something else strange in your config file?
steve
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=14
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=14
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14