Accessibility
Adobe
Sign in My orders My Adobe

Title

ColdFusion MX (on multihomed servers) displays wrong pageProducts affected

Issue

If you have Macromedia ColdFusion MXinstalled on multihomed web servers (web servers with two or more virtual webroots), and if multiple files have the same name in each virtual webroot (for instance, there is an index.cfm in several of the virtual webroots), the first file loaded may display for all virtual webroots instead of the correct file for each virtual webroot.

This issue is caused by a performance tuning setting. While this setting enables single virtual websites to run slightly faster, it causes multihomed servers, in certain cases, to display the wrong page.

Solution

To modify the performance tuning setting for all multihomed servers, use the following steps:

ColdFusion MX 6.1 and MX 7
  1. Open the ColdFusion Administrator.
  2. Select the link to the Caching page.
  3. Ensure that Cache web server paths is unselected.
ColdFusion MX
  1. Open the file jrun.xml.

    On Windows systems, the default location for the file is:
    C:\cfusionmx\runtime\servers\default\SERVER-INF\jrun.xml

    On Unix-based systems, the default location is:
    /opt/coldfusionmx/runtime/servers/default/SERVER-INF/jrun.xml
  2. Find the entry named "cacheRealPath" within the file. The default for this setting is "true," as shown here:

    <attribute name="cacheRealPath">true</attribute>
  3. Change the entry to "false," as shown here:

    <attribute name="cacheRealPath">false</attribute>
  4. Save the file. Stop and restart ColdFusion MX.

Doc ID
(tn_18258)

Last updated
2005-05-13

Products affected

Contacting Adobe Support

Still need help?
Find out about all your support options.
Contact support