Setting up MIME types on HTTP Server

Set up MIME types for your IBM® HTTP Server for i instance using the IBM Web Administration for i interface.

Multipurpose Internet Mail Extensions (MIME) types associate file contents and file extensions with the way the server and the client handle files. To change the MIME settings for the server, 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 the context you want to work with from the Server area list.
  5. Expand Server Properties.
  6. Click Content Settings.
  7. Click the MIME tab in the form.
  8. Edit the default content-type, content-language, and character set values as necessary.
  9. Optional: If necessary, select File extensions are case sensitive to distinguish between uppercase and lowercase letters when comparing file extensions.
  10. Optional: If necessary, select Force content-type for all files to force the mapping of all files in this context to a specified MIME type.
  11. Click Add under the Specify individual Meta (MIME) information for file extensions table.
  12. Enter file extensions in the File extension column.
  13. If available, select Add from the list in the Action column.
  14. Select the file type from the list in the Type column.
  15. Enter or select additional MIME types, encoding, languages, or browser types in the Value column.
  16. Click Continue.
  17. Click OK.