Even though the command line doesn??™t
say anything about XML formatting, you can see that the AppCmd utility provides the correct formatting
automatically. When you type
AppCmd Set CONFIG /section:system.webServer/
fastCGI /+[fullPath='C:\PHP\PHP-CGI.EXE??™]
and press Enter, the AppCmd utility creates
the entry shown in Figure 24.8. It creates a new element named
fastCGI
, adds an
application
element
to it with a value named
fullPath
that is set to
C:\PHP\PHP-CGI.EXE
.
Although you won??™t discover the full functionality of AppCmd in this chapter, it??™s helpful to
know a few of the tasks you can perform with it almost immediately. The CONFIG object is the one
that you??™ll use most when you perform an initial configuration because it provides access to the
Web server configuration information. You can also use it to gain access to the default Web site. For
example, if you type
AppCmd List CONFIG /section:DirectoryBrowse
and press Enter, you??™ll see
the current
DirectoryBrowse
setting, which controls the user??™s ability to browse the file entries on
the Web server. As shown in Figure 24.9, the default setting is
False
.
Pages:
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283