The configuration information for a Web server appears in the
\Windows\System32\inetsrv\
config
folder in a series of CONFIG files. You can edit these files using something as simple as
Notepad because the CONFIG files are text formatted as XML. Generally speaking, using Notepad
is a painful process because you must remember arcane syntax. Using Notepad is also error prone
because you may leave out formatting requirements for the XML accidentally. If you really must
edit the files by hand, then use a product such as XML Notepad 2007 to ensure you format the XML
correctly. Figure 24.8 shows a typical view of the
ApplicationHost.CONFIG
file.
CONFIGURING A BASIC WEB SITE
559
Figure 24.8
Use the XML
Notepad 2007 utility
to view and edit the
IIS CONFIG files
manually.
The preferred editor for IIS in Server Core is AppCmd because it ensures that the entries you
make are correct. However, using AppCmd can be a challenge because it isn??™t very helpful in telling
you how to make the entries. Viewing the CONFIG files using XML Notepad can provide you
with a great deal of information. When you open the
ApplicationHost.CONFIG
file, you can begin to
see some of the reason for the command line syntax for the AppCmd utility described in the ???Adding
Support for PHP and FastCGI??? section of the chapter.
Pages:
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282