
Planning Your Directory Structure
|
49
This setup is designed for maximum portability and security as well as ease
of maintenance. By setting up your projects in this way, you can easily move
an entire project from one computer to another, as all of the necessary data
is under the project directory. You can also add additional directories and
subdirectories, as needed.
As shown in the illustration on page 48, when you map a virtual directory to
..\
Projects\Sample_World\web
, your data directories (..\
Database
, ..\
Raster
,
and
..\SDF
) are not exposed to the Internet. Clients can only access the
folders and files within the folder to which the virtual directory is mapped.
Using virtual directories enables you to keep the same URL, even if you
change file paths on your system. If you change file paths, just update the
virtual directory mapping. Virtual directories also enable you to grant
Execute permission to directories you create.
Use the following guidelines for setting up your directory structure.
Group files into projects with project directories
After you group files into projects with project directories, map virtual direc-
tories to the
..\<project name>\web
directory. For example, if you create two
project folders on the file system of your Autodesk MapGuide Server,
..\Projects\project1
and
..\Projects\project2,
map virtual directories to
..\Projects\project1\web
and
..\Projects\project2\web
but do not put your data
in directories below
..\web
.
Place files under a virtual directory
Unlike raw data, you must place all HTML-related files, including MWFs,
under a virtual directory so they are directly accessible to the Internet. For
example:
..\Projects\project1\web\map1.html
(www.<your domain>.com/project1/map1.html)
..\Projects\project2\web\map2.html
(www.<your domain>.com/project2/map2.html)
Place files in directories that have Execute permission
You need to place your report files and server-side scripts in directories that
have Web server Execute permission. If you are running Microsoft Internet
Information Server (IIS), and you want to assign Execute permissions to a
directory, you must create a virtual directory that maps to it, regardless of
whether that directory is under the Web root or not.
Summary of Contents for 15606-011408-9008 - MAPGUIDE R6.3 NAMED-100U PK
Page 1: ...15306 010000 5000 October 2001 Autodesk MapGuide Release 6 User s Guide ...
Page 8: ...viii ...
Page 92: ...92 ...
Page 152: ...152 ...
Page 188: ...188 ...
Page 204: ......