Mappings
Mappings
You use the Mappings page of the ColdFusion Administrator to add, update, and
delete logical aliases for paths to directories on your server and to change the root
"/" mapping. This alias usually points to the Web root.
ColdFusion mappings apply only to pages processed by the ColdFusion Server with
the
(or whatever directory is mapped to "/"), you must add a mapping to the location of
those files on your server.
For example, let's assume that the "/" mapping on your server points to c:\wwwroot,
but all CFML pages associated with your online store reside in e:\store. For the CFML
pages that sit in the c:\wwwroot, you want to reference the online store pages using /
store in your
those pages, you must add a mapping for /store that points to e:\store.
To add a mapping:
1
2
3
The Active ColdFusion Mappings table shows the new mapping.
To update a mapping:
1
2
The Active ColdFusion Mappings table shows the updated mapping and the original
mapping.
To delete a mapping:
In the Active ColdFusion Mappings table, select a mapping to delete. Click Delete
Mapping. The mapping disappears immediately.
and
cfinclude
cfmodule
cfinclude
In the Logical Path text box, enter an alias to assign to a directory, such as /store.
In the Directory Path text box, enter the directory for which to create an alias,
such as e:\store. To locate the directory name, click Browse Server or enter the
directory name.
Click Add Mapping.
In the Active ColdFusion Mappings table, click a logical or directory path.
To update a logical or directory path, edit the information in the appropriate
field, then click Update Mapping.
tags. If you save CFML pages outside of the Web root
and
tags. In order for ColdFusion Server to find
cfmodule
79
Need help?
Do you have a question about the COLDFUSION 5 - INSTALING AND CONFIGURING SERVER and is the answer not in the manual?
Questions and answers