20
Chapter 2 Configuring Browsers and Servers
Anwer these questions in the RDS dialog box:
•
Studio Path
How does ColdFusion Studio see the directory?
•
ColdFusion Path
How does the Web
server
/ColdFusion server see the
directory?
•
Browser Path
How does the browser see the directory?
Note
An error will occur if you try to browse a file when there is a mismatch between the
Studio Path in a mapping defined in the Remote Development Settings and 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:
•
ColdFusion Studio and ColdFusion on the same machine
•
Studio debugging on a remote ColdFusion server using drive mappings
•
Studio debugging on remote server using Network Neighborhood
•
Studio debugging on a remote server using RDS file access
Using local paths
Debugging against a local ColdFusion Server (
localhost
) is the most common
scenario. In most cases, this arrangement allows both Server and Studio to see the
directories in the same way.
For example, the local
path
c:\inetpub\wwwroot translates to an identical server
path C:\inetpub\wwwroot, and a
URL
path of http://215.180.21.1/. The use of
mappings in such a scenario is mainly for URL resolutions. The URL part of the
mapping instructs Studio how a physical file can be viewed in a browser.
In this example, you would create a mapping as follows:
Using drive mappings
Developers often debug against a remote server across an internal network. In many
cases, they use a network drive mapping.
Server and Studio on same machine
Studio path
C:\inetpub\localhost\
Server path
C:\inetpub\localhost\
Browser/URL path
http://215.180.21.1/
Summary of Contents for ColdFusion Server 5
Page 18: ...xviii About This Book...
Page 26: ...8 Chapter 1 Setting Up the Product...
Page 42: ...24 Chapter 2 Configuring Browsers and Servers...
Page 60: ...42 Chapter 3 Exploring the Workspace...
Page 100: ...82 Chapter 6 Editing Pages...
Page 126: ...108 Chapter 7 Using Web Development Languages...
Page 212: ...194 Chapter 13 Customizing the Development Environment...
Page 320: ...302 Glossary...