Appendix A: Importing Typical HTTP Policies for Web and Outlook Web Access Publishing Rules
In this section, the XML documents for the HTTP policies described in Typical HTTP Policies for Web and Outlook Web Access Publishing Rules are provided. You can import these policies into ISA Server using the following procedure.
Copy the XML document to Notepad, and save it as an .xml file with a descriptive name, such as HTTP Policy for Web Publishing.xml.
On the ISA Server CD, browse to the folder \sdk\samples\admin. Locate the script HttpFilterConfig.vbs.
From a command prompt, run the script HttpFilterConfig.vbs using the following syntax:
\ScriptDirectory\HTTPFilterConfig.vbs import RuleName \somedirectory\HTTPPollicyXmlFileName
ScriptDirectory is the location where the script is, either the \sdk\samples\admin folder on the CD, or a location on the local hard drive, if you choose to copy the script there. RuleName is the name of the Web publishing or Outlook Web Access publishing rule to which you want to import the HTTP policy configuration, and somedirectory is the location where the HTTP policy .xml file is stored. HTTPPolicyXmlFileName is the name of the .xml file, such as HTTP Policy for Web Publishing.xml. For example, you might type the following at a command prompt:
F:\sdk\samples\admin\HTTPFilterConfig.vbs import My Web Publishing Rule c:\ISAServerXml\HTTPPolicyXmlFileName
The script automatically applies the changes.
|The Maximum Headers Length parameter, which is applied globally to all rules, is not imported or exported by the HttpFilterConfig.vbs script. You should configure that setting through ISA Server Management.|
You can use the HttpFilterConfig.vbs script to export an existing HTTP policy configuration. The syntax is as shown in the import example, but using the word export rather than import.