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:
- Click the Manage tab.
- Click the HTTP Servers subtab.
- Select your HTTP Server from the Server list.
- Select Global configuration from the Server area list.
- Expand HTTP Tasks and Wizards.
- 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:
- Click the Manage tab.
- Click the HTTP Servers subtab.
- Select your HTTP Server from the Server list.
- Select Global configuration from the Server area list.
- Expand Server Properties.
- Click Container Management.
- Click the Directories tab in the form.
- Select the directory you want to delete from the Directory/Directory Match container table.
- Click Remove.
- Click OK when the message box appears.
- Click OK.