Managing directories for HTTP Server

You can manage directories for a IBM® HTTP Server for i instance with the IBM Web Administration for i interface.

The following explains how to add a directory and how to remove a directory from your HTTP Server configuration.

Add a directory

The HTTP Server uses directories to serve Web pages and content. The Web Administration for i interface has an Add a Directory to the Web wizard that will create a new directory to serve Web content and CGIs.

To add a new directory, do the following:

  1. Click the Manage tab.
  2. Click the HTTP Servers subtab.
  3. Select your HTTP Server from the Server list.
  4. Select Global configuration from the Server area list.
  5. Expand HTTP Tasks and Wizards.
  6. Click Add a Directory to the Web.

When the wizard is finished, it will display a summary of the directory you just created.

Remove a directory

When removing a directory, the Web Administration for i interface removes all references to the directory from your configuration file only. The physical directory and content within the directory are not removed from the file system.

To remove a directory and subdirectories, do the following:

  1. Click the Manage tab.
  2. Click the HTTP Servers subtab.
  3. Select your HTTP Server from the Server list.
  4. Select Global configuration from the Server area list.
  5. Expand Server Properties.
  6. Click Container Management.
  7. Click the Directories tab in the form.
  8. Select the directory you want to delete from the Directory/Directory Match container table.
  9. Click Remove.
  10. Click OK when the message box appears.
  11. Click OK.