Working with files on remote servers
21
Understanding RDS mappings
A file mapping ensures that
H for Dreamweaver MX
, the RDS server, and
your browser can resolve a local path into a server path and URL. The path fields in
the Configure RDS Server dialog box specify how each —
H for
Dreamweaver MX
, the RDS server, and your browser—can find the directory that you
are mapping.
Note
An error occurs if you try to browse a file when the H Path set in an RDS
mapping does not match the path of the active file. For example, you cannot browse
a file opened from a mapped drive unless that drive path matches the mapping path.
The next section presents the most common RDS mapping scenarios.
RDS file mapping examples
The following scenarios show how file mappings work when you have local or
remote files matched with either local or remote servers:
•
H for Dreamweaver MX
and
ColdFusion
on the same computer
•
Debugging in
H for Dreamweaver MX
on a remote
ColdFusion Server
using one of the following:
−
Drive mappings
−
Network Neighborhood
−
RDS file access
Using local paths
Debugging against a locally installed version of
ColdFusion Server
(localhost) is the
most common scenario. In most cases, this arrangement allows both the
ColdFusion
Server
and
H for Dreamweaver MX
to see the directories in the same way.
In this scenario, you use mappings to resolve URL paths. The URL part of the
mapping determines how
H for Dreamweaver MX
displays a physical file in
a browser.
For example, both
H for Dreamweaver MX
and the
ColdFusion Server
might see a file as C:\webprojects\App1\index.cfm, and the browser as
http://215.180.21.1/index.cfm.
Содержание HOMESITE
Страница 11: ...Contents xi Table of CommandID values 310 Table of SettingID values 314 Glossary 323...
Страница 12: ...xii Contents...
Страница 20: ...xx About This Book...
Страница 28: ...8 Chapter 1 Setting Up the Product...
Страница 70: ...50 Chapter 4 Managing Files...
Страница 88: ...68 Chapter 5 Writing Code and Web Content...
Страница 116: ...96 Chapter 6 Editing Pages...
Страница 148: ...128 Chapter 7 Using Web Development Languages...
Страница 190: ...170 Chapter 11 Deploying Files...
Страница 210: ...190 Chapter 12 Testing and Maintaining Web Pages...
Страница 216: ...196 Chapter 13 Extending the Help System...
Страница 350: ...330 Glossary...
Страница 358: ...338 Index...