Installation guide
Configuring the Installation Type II Agents
76 Sun ONE Identity Server Policy Agents 2.1 • Web Policy Agents Guide • September 2004
1. Creating the agent configuration file for the web site that is to be protected by
the agent
2. Configuring the agent for that web site
Ensure that you create the agent configuration file before you configure the
agent.Refer to the proper section as follows:
• “Creating the Microsoft IIS 6.0 Agent Configuration File” on page 76
• “Creating the Apache 2.0.50 Agent Configuration File” on page 79
• “Configuring the Agent for Microsoft IIS 6.0 for a Web Site” on page 81
• “Configuring the Agent for Apache 2.0.50 for a Web Site” on page 83
Creating the Microsoft IIS 6.0 Agent
Configuration File
The agent for Microsoft IIS 6.0 provides a Visual Basic (VB) script to help you
create the agent configuration file. When you run it, the VB script prompts for
information related to the Web Site Identifier, the agent you areinstalling, and Sun
ONE Identity Server and creates the agent configuration file based on the
information. About the Web Site Identifier, Microsoft IIS 6.0has aunique Identifier
associated with every web site on the web server. The Web Site Identifier is
displayed when youstartthe Microsoft InternetInformation Services Managerand
click Web Sites. The Identifier column indicates the unique identifier associated
with every web site.
To create the agent configuration file, perform the below steps.
1. Change to the directory
\Agent_Install_Dir\iis6\bin
. This directory stores
the script required to create the agent configuration file.
2. Run the following command:
cscript.exe IIS6CreateConfig.vbs defaultConfig
where,
IIS6CreateConfig.vbs
is the VB script and
defaultConfig
is the agent
configuration file created by this command.
NOTE
When you are deploying the agent on multiple web sites, you must create a unique
agent configuration file for each of the web sites. You can use the following steps to
create multiple agent configuration files. Only, make sure that you give a unique file
name to each of the configuration files.