Autodesk 15606-011408-9320 User Guide - Page 47

If you are running Internet Information Server, we recommend that

Page 47 highlights

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. Use the following guidelines for setting up your directory structure.  Group your files into projects, with project directories. For instance, if you post two projects on your Autodesk MapGuide Server, create /project1 and /project2 under your web root: /web root/project1/ /web root/project2/  You must place HTML files under the web root. For instance: /web root/project1/web/map1.html /web root/project2/web/map2.html  For security reasons, we recommend that you place data source files above the web root.  You need to place your MWFs, MLFs, report files, and server-side scripts in directories that have web server Execute permission. If you are running Microsoft Internet Information Server, and you want to give a directory Execute permissions, you must create a virtual directory that maps to it, regardless of whether that directory is under the root or not. For instructions on creating a virtual directory, refer to the documentation that came with your web server.  You can locate your MapAgent files anywhere on the server where they can be accessed by the web server software. If you are running Internet Information Server, we recommend that you use the default directory that it provides for your MapAgent files. This way you do not need to create a virtual directory. If you choose to create a different directory for your MapAgent files, you must create a virtual directory that maps to that directory. Netscape Enterprise Server does not create a default directory. If you use the NSAPI version of the MapAgent, you must enter a pointer in the Netscape configuration file that points to the MapAgent_NSAPI.dll file. Typically, the MapAgent_NSAPI.dll directory is: C:/Program Files/Autodesk/MapGuideServer5/MapAgents If you are going to use the CGI agent, you must create a CGI directory and create a mapping to that directory in the Netscape Administrator. Planning Your Directory Structure | 47

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190

Planning Your Directory Structure
|
47
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.
Use the following guidelines for setting up your directory structure.
Group your files into projects, with project directories. For instance, if you
post two projects on your Autodesk MapGuide Server, create
/project1
and
/project2
under your web root:
/web root/project1/
/web root/project2/
You must place HTML files under the web root. For instance:
/web root/project1/web/map1.html
/web root/project2/web/map2.html
For security reasons, we recommend that you place data source files above
the web root.
You need to place your MWFs, MLFs, report files, and server-side scripts in
directories that have web server Execute permission. If you are running
Microsoft Internet Information Server, and you want to give a directory
Execute permissions, you must create a virtual directory that maps to it,
regardless of whether that directory is under the root or not. For instruc-
tions on creating a virtual directory, refer to the documentation that came
with your web server.
You can locate your MapAgent files anywhere on the server where they
can be accessed by the web server software.
If you are running Internet Information Server, we recommend that you
use the default directory that it provides for your MapAgent files. This way
you do not need to create a virtual directory. If you choose to create a dif-
ferent directory for your MapAgent files, you must create a virtual direc-
tory that maps to that directory.
Netscape Enterprise Server does not create a default directory. If you use
the NSAPI version of the MapAgent, you must enter a pointer in the
Netscape configuration file that points to the
MapAgent_NSAPI.dll
file.
Typically, the
MapAgent_NSAPI.dll
directory is:
C:/Program Files/Autodesk/MapGuideServer5/MapAgents
If you are going to use the CGI agent, you must create a CGI directory and
create a mapping to that directory in the Netscape Administrator.