
Chapter 4: Configuring the High-Level Network
4-42
11. Start the World Wide Web Publishing Service by typing net start
w3svc at a command prompt, or by using the Services applet that is
located in Control Panel (in Windows NT 4.0) or Administrative
Tools (in Windows 2000).
12. Repeat the previous step for any other services that were stopped in
step 11.
13. Browse back to the ISAPI Filters tab (by following steps 1-5) and
verify that the filter is loaded properly. You should see a green
arrow that is pointing up under the Status column.
Note
The ISAPI Filters tab specifies a load order, with the filter at the top of the
list loading first. Normally Sspifilt.dll, the ISAPI filter for SSL, is at the top
of the list to allow any other filters to access data before IIS encrypts and
transmits or decrypts and receives TTPS traffic.
HTTP header insertion
An optional attribute of a pool is HTTP header insertion. Using this
attribute, you can configure a pool to insert a header into an HTTP request.
The HTTP header being inserted can include a client IP address. Including a
client IP address in an HTTP header is useful when a connection goes
through a secure network address translation (SNAT) and you need to
preserve the original client IP address.
The header insertion must be specified in the pool definition as a quoted
string. Figure 4.9 shows the required syntax.
Figure 4.9 Syntax of a header insertion string within a pool
Optionally, you can include rule variables in the quoted string. For example,
the pool definition shown in 4.10 uses the rule variable client_addr to
represent the original client IP address of an HTTP request.
Figure 4.10 Example of a rule variable within a pool for header insertion
pool <pool_name> {
header insert <quoted string>
}
pool my_pool {
header insert "OrigClientAddr:${client_addr}"
member 10.0.0.1:80
member 10.0.0.2:80
member 10.0.0.3:80
}
Comentarios a estos manuales