Reference > ANT targets > Ant targets: Creating and configuring targets > CreateInstance
ANT target: ConfigureWebServer
ConfigureWebServer supports IBM HTTP Server. ConfigureWebServer can also reconfigure the Web server to restore the initial configuration.
Called by:
Prerequisites:
The createInstance.properties file must exist for this ANT target to work. For information about generating the properties file, see ANT targets.
Required parameters:
- instance
- The name of the WCS instance with which you are working (for example, demo).
- ftpUserPwd (remote and FTP option only)
- The user password of the FTP account being used to configure the web server.
Example
- WC_INSTALL/bin/config_ant.sh -DinstanceName=instance ConfigureWebServer
- WC_INSTALL/bin/config_ant.bat -DinstanceName=instance ConfigureWebServer
Recovery:
- If an error occurs, review the following logs:
- WC_INSTALL/instances/ instance/logs/createInstanceANT.log
- WC_INSTALL/instances/ instance/logs/createInstanceANT.err.log
- WC_USER/instances/ instance/logs/createInstanceANT.log
- WC_USER/instances/ instance/logs/createInstanceANT.err.log
- Identify which ANT target of ConfigureWebServer failed.
- Resolve the problem.
- Run the ConfigureWebServer target again.
Related concepts