Setting up MIME types on HTTP Server (powered by Apache)

 

In the IBM HTTP Server for i5/OS, you can set up MIME types for your HTTP Server with the IBM Web Administration for i5/OS interface.

Information for this topic supports the latest PTF levels for HTTP Server for iSeries . IBM recommends that you install the latest PTFs to upgrade to the latest level of the HTTP Server for i5/OS. Some of the topics documented here are not available prior to this update. See IBM Service for more information.

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 (powered by Apache) 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.

 

Parent topic:

HTTP Server tasks