> We have always had a lot of trouble with setting up multiple
> websites on one server. We are having trouble with different
> websites using the same files.
>
> Just to be clear, WE HAVE turned of "cached real path", and
> RESTARTED our server many times. Both virtual websites are
> still using the same webroot/Application.cfm file. What other
> causes can there be?
>
> We have looked at the jrun-web.xml file in the
> C:\CFusionMX\wwwroot\WEB-INF directory. It has the following
> <virtual-mappings>
>
> <virtual-mapping>
> <resource-path>/WEB-INF</resource-path>
> <system-path>C:/CFusionMX/wwwroot/WEB-INF</system-path>
> </virtual-mapping>
>
> <virtual-mapping>
> <resource-path>/*</resource-path>
> <system-path>D:/Inetpub/websites/BloodSource/</system-path>
> </virtual-mapping>
>
> The second mapping points to the production/default web root. I
> suspect this could be at least part of the problem, but I really
> don't understand what this file does, where it is used in the CF
> server? How does this file relate to the "Mappings" defined in the
> CFAdmin, if at all? Can anybody point me to documentation that
> details the purpose of this file.
>
> We tried removing the second <virtual-mapping> and our code broke.
> We then tried modifying the resource-path to read
> <resource-path>/www.bloodsource.org/*</resource-path> to define the
> production server, again this broke our code.
I suspect that you have the JRun web server running, in addition to IIS. I
had similar problems when I did that. You can disable the JRun web server
using these instructions:
http://www.macromedia.com/support/coldfusion/adv_development/config_builtin_
webserver/
As for what jrun-web.xml is and what it does, you'll find all kinds of
explanatory sources by just Googling for "jrun-web.xml". I don't think
you'll have to change it manually once you disable the JRun web server.
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]

